Configuring the ODBC Client
:
Configuring Local ODBC Client Data Sources on Linux and UNIX
:
Example: odbc.ini for Solaris
Example: odbc.ini for Solaris
The following code shows an example of an odbc.ini file for a 32-bit Local ODBC Client installed on a Solaris machine:
[ODBC Data Sources]
SALESDB=DataDirect OpenAccess SDK 8.1
[SALESDB]
Driver=
path_of_installdir
/lib/ivoal26.so
Description=DataDirect OpenAccess SDK 8.1
ConfigFile=
path_of_installdir
/cfg/oadm.ini
ServiceName=OpenAccessSDK810_C
UseLDAP=0
DistinguishedName=
Encrypted=0
ServerDataSource=
CustomProperties=
[ODBC]
Trace=0
IANAAppCodePage=4
TraceFile=odbctrace.out
TraceDll=
path_of_installdir
/lib/ivtrc27.so
InstallDir=
path_of_installdir
where
path_of_installdir
is the path to the Local ODBC Client installation directory. Note that the attribute Host specifies the configuration file name and the attribute Port is used to specify the service name.