【发布时间】:2016-07-08 19:17:36
【问题描述】:
我有时无法连接到我的数据库。以下是我收到的消息。
Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
I know the SID I am using is correct. 如果我重新启动计算机,此错误就会消失。我尝试连接的 Oracle 数据库实例在我的计算机上本地运行。
这浪费了我很多时间,每次发生这种情况都需要重新启动计算机。
【问题讨论】:
标签: database oracle oracle11g connection database-connection