oracle9i用pl/slq developer報" ORA-12154: TNS:沒法解析指定的鏈接標識符"錯誤解決方案總結:機器上前後安裝了oracle9i和oracle10g,安裝好後,10g能用pl/sql developer正常鏈接,但9i老是連不上,老是提示:"ORA-12154: TNS:沒法解析指定的鏈接標識符",網上說oracle目錄下:c:\oracle\ora9i\network\admin下的listener.ora配置有問題 sql
配置以下:LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = china-efe28f3fd)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora9i)
(PROGRAM = extproc)
)
) 數據庫
檢查一遍,沒發現什麼問題, oracle
後來又查了查資料,說多是pl/sql developer的Oracle Home設置有問題,個人是英文版的,在Tools菜單-Perferences...下 Oracle Home 選擇一下你要鏈接的數據庫實例名,如個人是ora9i,保存,關閉,從新打開,問題解決.總結一下,以供你們參考. spa