Home > Database > Mysql Tutorial > ORA-12154: TNS: 无法解析指定的连接标识符

ORA-12154: TNS: 无法解析指定的连接标识符

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:07:52
Original
1287 people have browsed it

今天打开PL/SQL Developer ,又看到 “ORA-12154: TNS: 无法解析指定的连接标识符 ”错误,之前没有问题可以连接的,是连接我本地

今天打开PL/SQL Developer ,又看到 “ORA-12154: TNS: 无法解析指定的连接标识符 ”错误,之前没有问题可以连接的,是连接我本地的机子。

查看监听-打开的;

tnsnames.ora文件,直觉文件配置没有问题;

本机IP地址:(如何是连接远程机子需要核对远程机IP地址是否变化,,如果变化重新配置tnsnames文件的IP地址),偶尔会变,是动态的,结果IP也没有问题;

百度,有说是注册表中Oraclehome的有问题:regedit-搜索ORACLE_HOME,其值发现与实际路径不符合,修改成我实际的home值(E:\oracle\product\10.2.0\db_1)。ok,可以连接。

linux

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template