racle 的developer连接不上报错:listener does not currently know of sid given in connect descriptor
解决办法:
在 d:\app\administrator\product\..\dbhome_\network\admin中找到listener.ora文件,修改后的文件在“下面”中,复制并覆盖就ok了。
# listener.ora network configuration file: d:\app\administrator\product\..\dbhome_\network\admin\listener.ora
# generated by oracle configuration tools.
把listener.ora中的配置改成如下即可:
sid_list_listener = (sid_list = (sid_desc = (sid_name = clrextproc) (oracle_home = d:\app\administrator\product\..\dbhome_) (program = extproc) (envs = "extproc_dlls=only:d:\app\administrator\product\..\dbhome_\bin\oraclr.dll") ) (sid_desc = (global_dbname = orcl) (oracle_home = d:\app\administrator\product\..\dbhome_) (sid_name = orcl) ) ) listener = (description_list = (description = (address = (protocol = ipc)(key = extproc)) (address = (protocol = tcp)(host = localhost)(port = )) ) ) adr_base_listener = d:\app\administrator
如按照以上操作还是连接不上,可能是你的sid错误!
解决方法: