using mysql 5.6
Look the discussion: http://stackoverflow.com/questions/6479107/how-to-enable-mysql-query-log
Solution in Mysql 5.6 in Windows 7
SET global general_log_file='c:/Temp/mysql.log'; SET global general_log = 'ON'/'OFF'; SET global log_output = 'file';