This entry has been published on 2016-01-19 and may be out of date.
Last Updated on 2016-01-19.
Log in to MySQL via console:
mysql -u root -p
Run:
SET global log_output = 'table'; SET global general_log = 1;
View table mysql.general_log e.g. with phpMyAdmin or command:
select * from mysql.general_log
Do not forget to disable logging again:
SET global general_log = 0;