首页 > 数据库技术 > 详细

PL/SQL developer连接oracle出现“ORA-12154:TNS:could not resolve the connect identifier specified”问题的解决

时间:2016-02-24 12:41:51      阅读:320      评论:0      收藏:0      [点我收藏+]

转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/50728536
本文出自【我是干勾鱼的博客

使用PL/SQL developer工具连接oracle,登陆的时候报错:

ORA-12154:TNS:could not resolve the connect identifier specified

如图:

技术分享

但是使用命令行登陆却没有问题,应该是PL/SQL developer工具有的地方配置的不对。试了一下,需要在PL/SQL developer界面中,点击:

Tools -> Preferences

如图:

技术分享

在界面中,如图:

技术分享

需要配置“Oracle Home”和“OCI library”两项。

其中“Oracle Home”设置oracle安装位置,比如:

D:\oracle\product\10.2.0\db_1

“OCI library”是oracle客户端位置,需要安装客户端,然后将其位置指定,比如:

D:\oracle\product\10.2.0\db_1\BIN\oci.dll

有的时候“OCI library”可以不填,但是“Oracle Home”必须要填。

填完后PL/SQL developer就可以连接oracle了。

PL/SQL developer连接oracle出现“ORA-12154:TNS:could not resolve the connect identifier specified”问题的解决

原文:http://blog.csdn.net/dongdong9223/article/details/50728536

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!