码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-08-06 12:40:14      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:add   sql   and   article   tle   specified   data   javascrip   too   

转载请注明出处: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”是oracleclient位置,须要安装client,然后将其位置指定,比方:

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”问题的解决

标签:add   sql   and   article   tle   specified   data   javascrip   too   

原文地址:http://www.cnblogs.com/slgkaifa/p/7294168.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!