Resolution Path for a DSN
TimesTen uses certain rules when resolving a DSN.
Note:
-
If a user DSN and a system DSN with the same name exist, TimesTen retrieves the user DSN.
-
On Linux and UNIX, if there are multiple DSNs with the same name in the same
odbc.inifile, TimesTen retrieves the first one specified in the file.
-
Searches for a user DSN with the specified name in the following files:
-
The file referenced by the
ODBCINIenvironment variable, if it is set. -
The
.odbc.inifile in the user's home directory, if theODBCINIenvironment variable is not set.
-
-
If no matching user DSN is found, TimesTen looks for a system DSN with the specified name.
-
The file referenced by the
SYSODBCINIenvironment variable, if it is set. -
The
sys.odbc.inifile in the daemon home directory, if theSYSODBCINIenvironment variable is not set. -
On Linux and UNIX, the file is located in
timesten_home/conf/sys.odbc.ini.
-