ORA-12505, TNS:listener does not currently know of SID
2016-09-08 17:59
411 查看
公司上了很多Oracle 12c版本的数据库,开发人员通过JDBC连接数据库时,经常遇到ora-12505报错:
报错信息: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
通常建议如下操作可解决问题:
1,升级ojdbc的驱动包,版本至 能支持 12c数据库的。 2,修改连接串:
原始方式: jdbc:oracle:thin:@10.1.251.115:1521:ORCL
修改成: jdbc:oracle:thin:@//10.1.251.115:1521/ORCL
报错信息: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
通常建议如下操作可解决问题:
1,升级ojdbc的驱动包,版本至 能支持 12c数据库的。 2,修改连接串:
原始方式: jdbc:oracle:thin:@10.1.251.115:1521:ORCL
修改成: jdbc:oracle:thin:@//10.1.251.115:1521/ORCL
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27126919/viewspace-2124731/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27126919/viewspace-2124731/
相关文章推荐
- Oracle遇到的问题ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- Oracle连接报错ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- eclipse连接数据库时出现ORA-12505, TNS:listener does not currently know of SID given in connect descriptor的解决
- ORA-12505, TNS:listener does not currently know of SID given 错误
- navicat 连接 oracle 的时出现:ORA-12505, TNS:listener does not currently know of SID given in connect descr
- ORA-12505 TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect desc
- activiti 数据库配置错误:ORA-12505, TNS:listener does not currently know of SID given in connect desc
- oraclejdbc连接数据库的问题ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505,TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- java中的使用JDBC出错:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- Oralce监听服务出现问题解决方案 (ORA-12505, TNS:listener does not currently know of SID given in connect)
- ORA-12505,TNS:listener does not currently know of SID given in connect descriptor
- 部署项目报错:oracle 11g ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor