Mysql - enable general logging runtime

From Skytech
Jump to navigation Jump to search


Mysql - enable general logging realtime

set global log_output = 'FILE';
set global general_log_file = '/var/log/mysql/queries.log';
set global general_log = 'ON';