Oracle Network Products Getting Started for Windows Platforms | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
Understanding the ORACLE.INI Configuration File
The Oracle configuration file, ORACLE.INI, is an ASCII text file that contains parameters that you modify to suit your setup. Defining Configuration Parameters
Configuration parameters control the name of the Oracle home directory, the screen driver, and the command used to spool files to the printer.
PARAMETER=VALUE
|
ORACLE_HOME=C:\ORAWINYou can modify the contents of a configuration file with any text editor or word processor. Remember that if you are using a word processor to edit Oracle files, you must save the file as an ASCII text file, not as a document file.
After installing an Oracle product, you can reset configuration file parameter values in two ways:
ORACLE_HOME=C:\ORAWIN
SQLPATH=C:\ORAWIN
SQLNET DBNAME FINANCE=T:MARKET
C:\> SET ORACLE_HOME=C:\ORAWIN2Setting a parameter in this manner is temporary. The parameter is only set for the current login session.
See the sections, "LOCAL" and "REMOTE" in "Understanding Configuration Parameters" for explanations of these parameters.
Understanding Configuration Parameters
Most configuration parameters take effect only when you start up the Oracle7 Server or an Oracle tool. LOCAL
This parameter specifies the TNS parameters to use when no communications driver is specified upon loading an Oracle tool. This parameter enables the database administrator (DBA) to define a "default" network connection. When the user logs on without specifying any network parameters, Oracle uses the LOCAL connection. Thus, the distributed processing or distributed database is made invisible to the user.
Default | Legal Values |
2: Specifies a two-task driver to connect to a Personal Oracle7 database, which is available for 16-bit SQL*Net when running on Windows 95. | TNS prefix |
ORA-00342: Unable to connect to default Host |
The syntax for the LOCAL parameter is:
LOCAL=service_nameThe following example shows the usage of the LOCAL parameter:
LOCAL=GREENwhere GREEN is the service name located in the TNSNAMES.ORA file located at ORAWIN\NETWORK\ADMIN.
|
To use the server specified by LOCAL, enter:
SQLPLUS SCOTT/TIGERSQL*Net check for LOCAL=service_name in the ORACLE.INI file. If it exists, SQL*Net connects.
The default and legal values for NLS_LANG are:
Default | Legal Values |
AMERICAN_AMERICA.WE8ISO8859P1 | supported languages, territories, and character sets |
|
ORACLE_HOME
This parameter specifies the Oracle home directory in which Oracle products are installed. It is added to your configuration file when you run ORAINST for the first time.
Default | Legal Values |
ORAWIN | any Windows directory on any drive |
REMOTE
This parameter specifies the default remote SQL*Net driver to use when connecting to a remote Oracle7 Server.
Default | Legal Values |
None | any valid TNS parameters |
This parameter can include the default parameters (complete connect descriptors). For example:
REMOTE=PIPER_SERVERwhere PIPER_SERVER is the service name in the TNSNAMES.ORA file located at ORAWIN \NETWORK\ADMIN.
To use the server specified by REMOTE, enter:
C>SQLPLUS SCOTT/TIGER@REMOTEIf a user logs on and specifies a connection with an explicit driver prefix matching the one specified in REMOTE, but specifies no connect descriptor parameters, the parameters specified in REMOTE are used. This configuration parameter enables the DBA to define a "normal" network connection for which the SQL*Net user need not specify connection parameters.
The default and legal values for SQLPATH are:
Default | Legal Values |
None | any directory on any drive |
TCP_VENDOR
This parameter specifies which JSB Virtual Socket Library transport to use. Potential values for this parameter are described in Table B-3 and Table B-4.
The default and legal values for TCP_VENDOR are:
Default | Legal Values |
None | any valid vendor key for a supported JSB transport |
|
TNS_ADMIN
This parameter specifies a directory in which the SQL*Net version 2 configuration files reside.
Default | Legal Values |
ORACLE_HOME\ NETWORK\ADMIN | any valid directory |
UTILITY_MSG
This parameter specifies a directory in which error messages issued by Oracle audit tools and utilities are stored.
Default | Legal Values |
ORACLE_HOME\DBS | any directory |
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |