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

本文介绍了解决在使用PL/SQL Developer连接Oracle数据库时遇到的ORA-12154错误的方法。通过调整系统环境变量Path中客户端路径的顺序,成功解决了连接问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我先装了oracle9,再安装了pl/sql dev,这时我输入用户名、口令可以连接服务器。

随后我再安装了ODAC 11.2 Release 4 (11.2.0.3.0) with Oracle Developer Tools for Visual Studio,我再使用pl/sql dev联接时,报错

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

查看Path系统环境变量时发现

E:\app\Administrator\product\11.2.0\client_1;E:\app\Administrator\product\11.2.0\client_1\bin;F:\oracle\ora90\bin;

client变量在前,更改成

F:\oracle\ora90\bin;E:\app\Administrator\product\11.2.0\client_1;E:\app\Administrator\product\11.2.0\client_1\bin;

就OK

转载于:https://www.cnblogs.com/50614090/archive/2012/09/22/2698231.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值