我想用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