mysql> show variables like "%general_log%"; +------------------+------------------------------------+ | Variable_name | Value | +------------------+------------------------------------+ | general_log | ON | | general_log_file | /usr/local/var/mysql/CliffyCat.log | +------------------+------------------------------------+ 2 rows in set (0.00 sec) mysql> SET GLOBAL general_log = ‘ON‘; Query OK, 0 rows affected (0.00 sec) mysql>
tail -f /usr/local/var/mysql/CliffyCat.log