Skip to Content.
Sympa Menu

freetds - Re: [freetds] odbc trace file not there!

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nilesh Dhawale <ndhawale AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] odbc trace file not there!
  • Date: Fri, 15 Oct 2004 15:02:23 -0400

> 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




Archive powered by MHonArc 2.6.24.

Top of Page