我在linux服务器上安装了oracle 10g,在我的windows上用pl/sql developer连接,需要:
1、在windows上安装oracle客户端程序;
2、利用net manager创建服务命名linuxorcl;
3、用pl/sql developer连接oracle数据库
oracle客户端卸掉,又重新装上,安装目录有变化,此时再用pl/sql developer连接oracle 出现如下提示,在windows的CMD下连接sqlplus scott/tiger@linuxorcl,得到相同的提示:
ORA-12154: TNS:could not resolve the connect identifier specified
解决方法:
在windows的环境变量->系统变量->Path里面,有两个oracle/product/10.2.0/client_2/BIN/,一个是以前装的,删除以前的路径,只留下当前的路径:I:/oracle/product/10.2.0/client_2/BIN/,问题得到解决!
本文介绍了解决在Windows环境下使用PL/SQL Developer连接Linux上的Oracle 10g数据库时遇到的ORA-12154错误的方法。通过调整Windows环境变量中的Oracle客户端路径,成功解决了连接问题。
1万+

被折叠的 条评论
为什么被折叠?



