大家好,我是考100分的小小码 ,祝大家学习进步,加薪顺利呀。今天说一说数据库报ora12514_oracle数据库,希望您对编程的造诣更进一步.
Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor.
原因:监听器配置问题,具体没搞懂,猜测是SID链接不匹配,监听器无法监听到orcl。
修改oracle安装目录下D:appxuannanproduct11.2.0dbhome_1 etworkadminlistener.ora文件
# listener.ora Network Configuration File: D:appxuannanproduct11.2.0dbhome_1 etworkadminlistener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:appxuannanproduct11.2.0dbhome_1)
(PROGRAM = extproc)
(ENVS = “EXTPROC_DLLS=ONLY:D:appxuannanproduct11.2.0dbhome_1inoraclr11.dll”)
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = D:appxuannanproduct11.2.0dbhome_1)
(SID_NAME = orcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = D:appxuannan
加上这一段就好了
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/11116.html