Heavy session at the gym followed by a slow walk home in the sun. Just had one of those moments when the brain totally disconnects and you tune in to all the little things (birds singing, kids playing at school break, the smell of the flowers, the warmth of the sun on your chest). Total inner peace for 5mins.
If you need to enable debugging without restarting your database server:
To find out where your general log is:
mysql> SET GLOBAL general_log = 1;
Then all you need to do is monitor your file and run you app:
mysql> SHOW VARIABLES LIKE 'general_log_file';
bash> tail -f /path/to/log