"bob" <bo**********@hotmail.com> wrote in message
news:b0**************************@posting.google.c om...
hello,
I'm trying to see what queries a program is sending to a mysql
database.
I see that "mysqladmin.exe status" shows how many queries have been
sent to the database but i'd like to see what they are, is it
possible?
If you want to know what happens within mysqld, you should start it with
the --log[=file_name] or -l [file_name] option. If no file_name value is
given, the default name is `host_name.log', which can be found under the
\data directory.
More info here:
http://dev.mysql.com/doc/mysql/en/Log_Files.html