mysql> SET GLOBAL general_log = 'ON'; mysql> SET GLOBAL general_log_file = '/var/log/mysql/mysql.log'; $ tail -f /var/log/mysql/mysql.logOf course do not forget to put it back to OFF after you get enough log to troubleshoot:
mysql> SET GLOBAL general_log = 'OFF';
No comments:
Post a Comment