Was this helpful?
Linux Environment
This section discusses several methods for supporting ODBC tracing in the Linux environment.
Ingres ODBC CLI
For ODBC CLI applications, a standard ODBC trace is possible. Actian X does not currently release the code for ODBC trace libraries. However, you can obtain a binary of the ODBC trace library from Actian X Support.
To enable tracing for ODBC CLI applications:
1. Install the ODBC trace library
2. Select Drivers Tracing from the ODBC Administrator, iiodbcadmin.
3. To enable tracing for Linux, select the Set Tracing menu option to turn tracing on, and then select Save.
UnixODBC Driver Managers
UnixODBC environments support tracing. The ODBC Administrator can be used to trace in unixODBC environments, as previously documented for ODBC CLI applications. In fact, ODBC DSN definitions can be created in the ODBC Administrator and can be used in unixODBC applications.
To enable unixODBC tracing by manually editing the odbcinst.ini file, add this code section:
[ODBC]
Trace = yes
TraceFile = /tmp/odbctrace.log
Last modified date: 11/09/2022