官網中關于ORA-12560的解釋:
ORA-12560: TNS:protocol adapter error
Cause: A generic protocol adapter error occurred.
Action: Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete.
首先檢查windows服務中Oracle實例相關服務是否運行:
WIN(圖標鍵)+R👇
檢查Oracle配置文件
進入Oracle安裝主目錄/product/12.2.0/dbhome_1/network/admin
打開tnsnames.ora配置文件:
打開listener.ora配置文件:
檢查對應數據庫的HOST配置是否正確?此處HOST=<PC主機名>
如何查看主機名?👇
重啟監聽:
打開命令行輸入:lsnrctl restart
重啟服務:
總結
到此這篇關于Oracle數據庫ORA-12560錯誤解決辦法的文章就介紹到這了,更多相關oracle 12560解決辦法內容請搜索武林網以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持武林網!
新聞熱點
疑難解答