刚刚导入数据 ,想测试一下。于是用plsql 去连接
报了一个0RA-12514 TNS:监听程序不能解析连接符中给出的service_name
我lsnrctl status 发现没有自己建的服务
在网上搜索了一下 解决办法如下
在listener.ora 中修改一下配置
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PL***tProc)
(ORACLE_HOME = /home/u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
----这一段是新加的
(SID_DESC =
(GLOBAL_DBNAME = bybon)
(ORACLE_HOME = /home/u01/app/oracle/product/10.2.0/db_1)
(SID_NAME = bybon)
)
)
-----
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(ADDRESS = (PROTOCOL = TCP)(HOST = bybon)(PORT = 1522))
)
)
保存重启监听 顺利通过
阅读(1704) | 评论(0) | 转发(0) |