一错误:Oracle版本:11g,在SQL Developer里新建连接时老是出现
Failure -Listener refused the connection with the following error:ORA-12505,TNS:listener dose not currently know of SID given in connect......
如图:
二、原因:sid错误:
新建连接时SID默认的是“xe”,二数据库中没有这个实例
三、解决办法:
把sid改成orcl就行了,Oracle安装时默认是orcl,我没改,就是这个,点击测试,通过!