ORA-12560: TNS:protocol adapter error數據庫
Cause: A generic protocol adapter error occurred.windows
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.this
WIN(圖標鍵)+R👇spa
進入Oracle安裝主目錄\product\12.2.0\dbhome_1\network\admin
打開tnsnames.ora配置文件:命令行
打開listener.ora配置文件:3d
檢查對應數據庫的HOST配置是否正確?此處HOST=<PC主機名>
如何查看主機名?👇rest
打開命令行輸入:lsnrctl restartblog
文章中若出現錯誤,請在評論中指出或聯繫我👇
QQ:354008947
Email:354008947@qq.com圖片