当前位置:Gxlcms > 数据库问题 > PL/SQL developer连接oracle出现“ORA-12154:TNS:could not resolve the connect identifier specified”问题的解决

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

时间:2021-07-01 10:21:17 帮助过:22人阅读

-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   

人气教程排行