If you were login with root user on mysql database .
Use below command enable log
SET GLOBAL general_log = 'ON';
command for disable mysql log
SET GLOBAL general_log = 'OFF';
Secure file download in PHP, Security question PHP, PHP MYSQL Interview Question -Books download - PHP solutions guidelines queries update, phpmysqlquestion
If you were login with root user on mysql database .
Use below command enable log
SET GLOBAL general_log = 'ON';
command for disable mysql log
SET GLOBAL general_log = 'OFF';
I had this issue with MYSQL 5.7 . The following worked althoug...