Home > Database > Mysql Tutorial > body text

Unix/Linux搜寻tnsnames.ora规则

WBOY
Release: 2016-06-07 17:15:41
Original
1120 people have browsed it

Oracle Net Services configuration files are typically, but not always, located in the$ORACLE_HOME/network/admindirectory

Oracle Net Services configuration files are typically, but not always, located in the$ORACLE_HOME/network/admindirectory. Depending on the type of file, Oracle Net uses a different search order to locate the file.

The search order for thesqlnet.oraandldap.orafiles is as follows:

1.   The directory specified by theTNS_ADMINenvironment variable, if this environment variable is set

2.   The$ORACLE_HOME/network/admindirectory

The search order for thecman.ora,listener.ora, andtnsnames.orafiles is as follows:

1.   The directory specified by theTNS_ADMINenvironment variable, if this environment variable is set

2.   One of the following directories:

o   On Solaris:

o   /var/opt/oracleo   On other platforms:

o   /etc3.   The$ORACLE_HOME/network/admindirectory

linux

source:php.cn
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