我想用cygwin的sqlplus連接到位於myserver.mycompany.com端口1530當我嘗試通過Cygwin的sqlplus
sqlplus [email protected]:1530/orcl
我得到的錯誤遠程Oracle安裝連接到遠程Oracle:
ORA-12154: TNS:could not resolve the connect identifier specified
當我設置ORACLE_HOME
到/ cygdrive/c/oracle/product/10.2.0/client_1
,我得到一個不同的錯誤:
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
我可以telnet到服務器的端口1530,並且本地安裝的SQL Developer也能夠連接到數據庫。我究竟做錯了什麼?
不直接相關的問題在cmd窗口,但`cygpath`實用程序可以很方便的Windows和POSIX路徑之間來回轉換。 – xdhmoore 2013-03-21 15:34:47