I'm trying to generate a record of SQL statements executed against a mysql database, similar to Profiler in SQL Server.
I'm using this:
I execute the query, stop the server via mysqld -stop, and view the log. But the log doesn't contain my queries - it only has this:
mysqld, Version: 5.0.67-community-log (MySQL Community Edition (GPL)). started w
Tcp port: 0 Unix socket: (null)
Time Id Command Argument