[freetds] odbc trace file not there!

Nilesh Dhawale ndhawale at gmail.com
Fri Oct 15 15:02:23 EDT 2004


> TRACE is not a FreeTDS ODBC driver attribute.  It belongs to the Driver
> Manager unixODBC.  Other DMs might or might not support it.
> FWIW, the one time I tried to use TRACE, I failed, too.  I might not have
> had sufficient rights on that particular box, or maybe there was some
> other magic I didn't know about....

> Confirm. trace it's a DM stuff, in my odbcinst.ini I have
> [ODBC]
> Trace           = Yes
> TraceFile               = /tmp/sql.log
> ForceTrace              = Yes

That works! I guess then it is driver dependnt what variables to read
from the ini file. I have seen many examples of odbc.ini files with
the trace info in it!

Thanx,
Nilesh


More information about the FreeTDS mailing list