10bet网址
MySQL Connector/ODBC Developer Guide
Related Documentation Download this Manual
PDF (US Ltr)- 1.7Mb
PDF (A4)- 1.7Mb


5.8.3 Enabling ODBC Tracing on Unix

To enable the trace option on OS X 10.2 (or earlier) or Unix, add thetraceoption to the ODBC configuration:

  1. On Unix, explicitly set theTraceoption in theODBC.INIfile.

    Set the tracingONorOFFby usingTraceFileandTraceparameters inodbc.inias shown below:

    TraceFile = /tmp/odbc.trace Trace = 1

    TraceFilespecifies the name and full path of the trace file andTraceis set toONorOFF. You can also use1orYESforONand0orNOforOFF. If you are usingODBCConfigfromunixODBC, then follow the instructions for tracingunixODBCcalls atHOWTO-ODBCConfig.