ORA-12154: TNS:could not resolve the connect identifier specified 解决方案
2011-03-30 17:52
501 查看
今天用 PL/SQL Developer v8.0.4 连接 Oracel 11g R2 (Windows x64) 时,总是提示“ORA-12154: TNS:could not resolve the connect identifier specified”的错误信息,问题到最后总算是解决了,解决办法如下:
1. 从 oracle 官方网站下载 32 位的客户端(instantclient-basic-win32-11.2.0.1.0.zip),然后解压,我本机解压后的目录为:C:\oracle\instantclient_11_2
2. 然后在 pl/sql 中配置一下 oci 文件路径(tools-->preferences...-->Oracle-->Connection-->OCI Libray(empty is autodetect) 将该值改为刚才解压后文件夹中的 coi.dll 的全路径,如:C:\oracle\instantclient_11_2\oci.dll)
3. 配置系统环境变量,以防乱码:
1. 从 oracle 官方网站下载 32 位的客户端(instantclient-basic-win32-11.2.0.1.0.zip),然后解压,我本机解压后的目录为:C:\oracle\instantclient_11_2
2. 然后在 pl/sql 中配置一下 oci 文件路径(tools-->preferences...-->Oracle-->Connection-->OCI Libray(empty is autodetect) 将该值改为刚才解压后文件夹中的 coi.dll 的全路径,如:C:\oracle\instantclient_11_2\oci.dll)
3. 配置系统环境变量,以防乱码:
TNS_ADMIN=C:/oracle/product/11.2.0/dbhome_1/NETWORK/ADMIN NLS_LANG=AMERICAN_AMERICA.AL32UTF8
相关文章推荐
- ORA-12154: TNS:could not resolve the connect identifier specified错误解决方案一
- ORA-12154: TNS:could not resolve the connect identifier specified错误解决方案一
- Oracle 11g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!
- ora--12154 :TNS :could not resolve the connect identifier specified 错误处理
- win7下oracle 10g ORA-12154: TNS:could not resolve the connect identifier specified解决
- imp,exp提示ORA-12154: TNS:could not resolve the connect identifier specified
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!
- 关于ORA-12154: TNS:could not resolve the connect identifier specified问题的解决
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! _转载
- Oracle client 安装后,使用pl/sql登录,提示ORA-12154: TNS: could not resolve the connect identifier specified
- linux下导出oracle时报错【ORA-12154: TNS:could not resolve the connect identifier specified】
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!
- ORA-12154: TNS:could not resolve the connect identifier specified. Solved.
- PL/SQL 报错(ORA-12154:TNS:could not resolve the connect identifier specified)解决
- 解决ORA-12154: TNS:could not resolve the connect identifier specified
- 关于ORA-12154: TNS:could not resolve the connect identifier specified的问题
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORACLE-ORA-12154:TNS:could not resolve the connect identifier specified
- 关于ORA-12154: TNS:could not resolve the connect identifier specified的问题