原文:【JDBC】TNS:listener does not currently know of SID given in connect descriptor

報錯內容: e.getMessage Listener refused the connection with the following error: ORA , TNS:listener does not currently know of SID given in connect descriptor 更換數據源時,出現了以上錯誤。 說明給到的sid有誤,很有可能就是服務名和sid混淆使用。 ...

2022-01-18 20:16 0 1436 推薦指數:

查看詳情

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