Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently

原创 2015年07月07日 10:09:04

今天连接oracle数据库不知道为什么报了这个错 上网查了一下 但是没有按照别人的方式排错
之前的hibernate xml配置是这样的
jdbc:oracle:thin:@localhost:1521:xe

然后就报了上面的错误

然后我改成了
jdbc:oracle:thin:@localhost:1521:orcl

问题就解决了
补充:1521和orcl表示端口和数据库名

版权声明:本文为博主原创文章,转载请标明出处。

相关文章推荐

原创:oracle10G 的ORA-12505问题解决方法

今天在开发一个关于**的一个项目时候,本人在使用PLSQL连接oracle的时候一切正常,但是在Myeclipse的DB试图中我一直在使用的URL是如下代码:   jdbc:oracle:thin...

解决数据库连接报错Listener refused the connection with the following error: ORA-12505

今天遇到的数据库连接时报错: Listener refused the connection with the following error: ORA-12505, TNS:listener...

Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently

Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently ...

状态: 失败 -测试失败: Listener refused the connection with the following error: ORA-12505, TNS:listener does

Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently

使用java连接oacle12c时报错: java.sql.SQLException: Listener refused the connection with the following erro...

java.sql.SQLException: Listener refused the connection with the following error:ORA-12505

java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:lis...

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect

完整的错误信息如下:   java.sql.SQLException: Listener refused the connection with the following error: OR...

java中的使用JDBC出错: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...
  • Bk_Moon
  • Bk_Moon
  • 2017年04月13日 10:39
  • 2417

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect

转载自:http://anthon-lx.iteye.com/blog/811460 http://aofengblog.blog.163.com/blog/static/6317021201031...

ORA-12505,TNS:listener does not currently know of SID given in connect descriptor

1.Oracle客户端的安装: Oracle的安装这里不再细说,网上的安装图解也很详细,Oracle安装完之后,就安装Oracle的客户端,首选从Oracle的官方网站上下载客户端,大小差不多700...
  • wl_ldy
  • wl_ldy
  • 2012年09月24日 15:21
  • 55797
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently
举报原因:
原因补充:

(最多只允许输入30个字)