debug option

debug option

am 19.01.2008 07:37:01 von don-mysql8y

http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration- connection-parameters.html
says that option value 4 means:
Make a debug log in C:\myodbc.log on Windows, or /tmp/myodbc.log on
Unix variants.
My .odbc.ini file contains this

[myodbc3novdon]
Driver = /usr/local/.../libmyodbc3_r-3.51.23.so
SERVER = 127.0.0.1 ; localhost
PORT = 3307
USER =
Password =
Database = novdon
option = 7
SOCKET =

The fact that the connections use the right port, driver and database
indicate that the stuff above is being read.
But I see no /tmp/myodbc.log.
Any ideas what I could be doing wrong?

This is running in linux, the server is running 5.0.45

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

Re: debug option

am 19.01.2008 19:20:13 von Jim Winstead

On Fri, Jan 18, 2008 at 10:37:01PM -0800, Don Cohen wrote:
> http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration- connection-parameters.html
> says that option value 4 means:
> Make a debug log in C:\myodbc.log on Windows, or /tmp/myodbc.log on
> Unix variants.

Support for this option was removed in Connector/ODBC 3.51.18. The
standard ODBC trace log should be used instead.

Jim Winstead
MySQL Inc.

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

Re: debug option

am 19.01.2008 20:37:37 von don-mysql8y

Jim Winstead writes:
> On Fri, Jan 18, 2008 at 10:37:01PM -0800, Don Cohen wrote:
> > http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration- connection-parameters.html
> > says that option value 4 means:
> > Make a debug log in C:\myodbc.log on Windows, or /tmp/myodbc.log on
> > Unix variants.
>
> Support for this option was removed in Connector/ODBC 3.51.18. The
> standard ODBC trace log should be used instead.

Are you referring to this?
http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration- trace.html#myodbc-configuration-trace-unix

When I tried adding
TRACE = yes
to .myodbc.ini I got back the message
[MYODBCUtilReadDataSource.c][222][ERROR] Unknown attribute (TRACE).

If you mean something else, tell me where to look for the
documentation.


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org