oracle10g连接报12505

编号1994 2018-04-02 01:01:08
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
)

是监听配置问题吗,求各位打什么指教
...全文
268 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wj901470 2018-04-05
  • 打赏
  • 举报
回复
localhost 只能是本机,你的服务器和客户端不是一个电脑就不行。
minsic78 2018-04-04
  • 打赏
  • 举报
回复
服务器端lsnrctl status输出和客户端使用的连接字符串贴下
jdsnhan 2018-04-03
  • 打赏
  • 举报
回复
host port sid 检查这三者是否正确
sych888 2018-04-02
  • 打赏
  • 举报
回复
1、检查TNSNAME配置文件 2、检查监听和数据服务是否已经启动 3、TNSPING
  • 打赏
  • 举报
回复
你给的服务名 或者实例名错了

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧