如果你发现Easy Config不能启动 而原有的网络服务正常使用 那么可以通过以下的方法进行创建 修改 删除网络服务 创建(新增加一个网络服务) 在你Oracle安装目录下 \Oracle\Ora \NEORK\ADMIN下找到tnsnames ora 用notepad或其他的文本编辑器打开 会看到以下内容 # E:\ORACLE\ORA \NEORK\ADMIN\TNSNAMES ORA Configuration File:E:\Oracle\Ora \NEORK\ADMIN\tnsnames ora# Generated by Oracle Net Assistant
ORACLEWYQ = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = )) ) (CONNECT_DATA = (SERVICE_NAME = oracle) ) )
lishixinzhi/Article/program/Oracle/201311/17084
ora-12154 无法处理服务器名错误解决方法如下:
编辑代码:
XIEHENG_1921681620 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1921681620)(PORT = 1521))
(CONNECT_DATA =
(SID = XIEHENG)
(SERVER = DEDICATED)
GCBORA_19216813 =
(DESCRIPTION =
( ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 19216813)(PORT = 1521))
)
(CONNECT_DATA =
(SID = GCBORA)
(SERVER = DEDICATED)
3ORCL29 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192168629)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
4 ORCL32 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 17231632)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
使用oracle自己的客户端工具,比如sqlplus命令行,用
sqlplus user/pwd@本地网络服务名
的方式,能登录吗?
oracle连接不上的排查:
1 数据库服务器上 可否正常登录数据库并查询数据sqlplus
2 服务器上 用sqlplus user/pwd@orcl 的方式能否登录?
3 服务器的防火墙是否开着,是否没有为oracle调整过
4 客户端用oracle sql developer 连接时,地址,端口,数据库实例名,用户名,密码,是否都正确?
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)