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

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

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