PL/SQL Developer Logon the DB user with ORA-12154

item

when we install the oracle db, and have already create a db successfully, then we will want use the PL/SQL Developer to connect the DB, and do the operations that we wont. but there are some genereal problems when we do this, so , i list the problems, and want to help the other people, that's enough.


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

to this problem, below will be the reason about this:

1.1  when we do below and success.



1.2 when we logon in the sqlplus windows is ok



1.3 when the tnsnames.ora and the listener.ora is all ok.

then, the below reason we will be considered:

that is the environment's parameter will be wrong, lead to the PL/SQL Developer couldn't found the config file(xx.ora), we will be do this:


the parameter name is : TNS_ADMIN

the parameter value is : D:\app\qiankun\product\11.2.0\dbhome_2\NETWORK\ADMINTWORK\ADMIN (such as mine)





the other method is :

1. the first we do the tnsping xxx, and found which oranames.ora file that we used, the also the specifed local dir.

2. then we will edit the specifed ora file


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值