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