RE: debugging use of mysql


Subject: RE: debugging use of mysql
From: Mike Barsalou (mbarsalou@aidea.org)
Date: Thu Oct 31 2002 - 07:50:31 AKST


Thanks Chris!

I put:

log

in the mysqld section of the my.cnf file...like this:

[mysqld]
log

There are other entries in the mysqld section as well....

Thanks.

Mike

-----Original Message-----
From: Christopher E. Brown [mailto:cbrown@woods.net]
Sent: Wednesday, October 30, 2002 6:57 PM
To: Mike Barsalou
Cc: 'aklug@aklug.org'
Subject: Re: debugging use of mysql

On Wed, 30 Oct 2002, Mike Barsalou wrote:

>
> How can I turn debugging on for mysql. Is there a switch I can put in the
> my.cnf file that will help?

http://www.mysql.com/documentation/mysql/bychapter/

There are many different debug options available. Since you are using
my.cnf I can assume you are running 3.21 or later, but there are alot
of differences tween 3.21, 3.22, 3.23, and 4.0x Each major revision
has added more bebug and logging features.

Assuming you are wanting to debug queries (rather than running gdb on
the binaries) hit section 4.9 of the mysql manual. WHat you are
looking for is logging, not debug.

 --
I route, therefore you are.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Oct 31 2002 - 07:50:43 AKST