Turn On Mysql General Log
How to turn on Mysql General Log
-
Add the log settings in
/etc/mysql/my.cnf
[mysqld] general_log_file = /var/log/mysql/mysql.log general_log = 1
-
In Mysql:
```
SET GLOBAL general_log=’OFF’; ```
-
service mysql restart