原文:Connection to Oracle failed. [66000][12505] Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor .

我安裝了Oracle數據庫,默認的數據庫用戶名是system,密碼口令是安裝過程中你自己設置的。可以先使用命令框,輸入 然后再輸入密碼即可。 然后我的數據庫連接工具使用的是DataGrip,我在使用DataGrip連接的時候發現,報了這個錯誤 Connection to Oracle failed. Listener refused the connection with the followin ...

2019-03-27 16:15 0 1198 推薦指數:

查看詳情

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
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

引子: 本項目在老電腦上用的是oracle10g,換新電腦裝的是oracle11g,但運行項目本沒有什么關系,本來說創建個用戶,用PLSQL手工導入數據,再改幾下配置文件即可跑起來--但實際啟動中遇到以下異常導致eclipse不能啟動: 2016-01-25 11:34:39,694 ...

Wed Jan 27 00:55:00 CST 2016 0 2671
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM