With mysql 5.1.29+
Click wamp icon > wamp/mysql
Add this to the my.ini file
general_log_file = c:/wamp/logs/mysql_query_log.log
Also, to enable it from MySQL console (type this in PHPmyadmin)
SET global general_log = 1;
This will then show all requests to the database
Beware this can get very big!!!












