PL/SQL Developer Logon the DB user with ORA-12154
2015-12-05 23:28
615 查看
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
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
相关文章推荐
- Openstack在Centos上安装--(二)Mysql和RabbitMQ的安装与配置
- Sqoop增量从MySQL中向hive导入数据
- Sqoop增量从MySQL中向hive导入数据
- sql语句 如何去掉sql sever 前面的架构名。
- Linux运维 第五阶段(三)mysql高可用(基于heartbeat、nfs)
- Oracle12c学习(二)---Linux下SQL Developer 安装
- mysql while,loop,repeat循环,符合条件跳出循环
- mysql while,loop,repeat循环,符合条件跳出循环
- plsql developer调试触发器
- django之sqlite3常见错误
- OPTION(RECOMPILE)提高带参数执行SQL语句的索引效率
- mysql架构
- mysql while,loop,repeat循环,符合条件跳出循环
- sql分组排序取top n
- 01.Django学习之安装,建立项目,传参,MySQL数据库,静态文件配置和模板的使用
- PLSQL Developer连接数据库(64位操作系统)
- Oracle12c及PLSQL Developer安装全程记录
- unqlite安装/使用/测试
- win8 64位使用plsql developer连接oracle数据库问题
- Can't open the mysql.plugin table. Please run mysql_upgrade to create it