原文:Oracle中Error while performing database login with the XXXdriver; Listener refused the connection with the following error; ORA-12505,TNS:listener does not currently know of SID given inconnect descrip

一次连接数据库怎么也连接不上,查了多方面资料,终于找到答案,总结首先应该保证数据库的服务启动在myeclipse的数据库视图中点 右键 gt new 弹出database driver的窗口,Driver template选择oracle thin driver ,Driver name 输入oracleconnection URL jdbc:oracle:thin: localhost: :o ...

2016-12-20 15:55 0 24590 推荐指数:

查看详情

66000][12505] Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect

新装的idea开发工具后连接数据库出现如题所示错误。 1、网上搜了不少的文章,没有解决我的问题。后来细心看了一下url: 一开始url是这样子的。 2、由于是idea开发工具自动生成的,SID不匹配此请求url,需要改成如下完美解决问题,注意双斜杠跟单斜杠。 ...

Mon Sep 23 17:21:00 CST 2019 0 851
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM