MySQL global Log

时间:2025-08-29 09:48:02来源:互联网

下面小编就为大家分享一篇MySQL global Log,具有很好的参考价值,希望对大家有所帮助。
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

 

本站部分内容转载自互联网,如果有网站内容侵犯了您的权益,可直接联系我们删除,感谢支持!