[wd_asp elements=’search’ ratio=’100%’ id=1]

Enable MYSQL Log

22nd July 2014

MySql

mysql codehaven category

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!!!