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

来源:互联网 发布:网络人员业务流程 编辑:程序博客网 时间:2024/05/22 00:28

装完64位oracle11g后,无法使用pl/sql,提示:Initialization error SQL*net not properly installed OracleHomeKey: OracleHomedir,需要安装32位客户端。

装完客户端在启动pl/sql,提示:ORA-12154: TNS:could not resolve the connect identifier specified。

解决办法:新建环境变量->用户变量,变量名:TNS_ADMIN;变量值:x:\xxx\xxx\product\11.2.0\dbhome_2\NETWORK\ADMIN;

x位盘符和数据库安装路径。

0 0
原创粉丝点击