To enable the trace option on OS X 10.2 (or earlier) or Unix,
add the trace
option to the ODBC
configuration:
On Unix, explicitly set the
Trace
option in theODBC.INI
file.Set the tracing
ON
orOFF
by usingTraceFile
andTrace
parameters inodbc.ini
as shown below:TraceFile = /tmp/odbc.trace Trace = 1
TraceFile
specifies the name and full path of the trace file andTrace
is set toON
orOFF
. You can also use1
orYES
forON
and0
orNO
forOFF
. If you are using ODBCConfig fromunixODBC
, then follow the instructions for tracingunixODBC
calls at HOWTO-ODBCConfig.