ORA12505, TNS:listener does not currently know of SID given in connect descriptor

Listener refused the connection with the following error:|ORA12505,

TNS:listener does not currently know of SID given in connect descriptor|

The Connection descriptor used by the client was:|127.0.0.1:1521:oracle


连接oracle数据库报错,这是因为连接oracle的SID不正确

解决办法,连接到sqlplus

160110899.jpg

把oracle(红色部分标识的部分)改成查询到了ORCL就可以了。。。

你可能感兴趣的:(in,connect,sid,Descriptor,of,not,Know,given,does,currently,TNS:listener)