Oracle数据库连接失败,求怎么解决???报错如下,谢谢

状态: 失败 -测试失败: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

有没更详细的信息?可以参考这里:http://www.jb51.net/article/73178.htm

图片说明

tnsnames.ora这个 文件 你需要配置一下,当年我也因为这个连不上oracle。
http://www.linuxidc.com/Linux/2014-01/94787.htm参考

看看是不是SID错了