Home Activate mysql query logs on the fly
Post
Cancel

Activate mysql query logs on the fly

login to your mysql instance as root user and then use this commands to active mysql query logs

SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log_file = 'nameoflogfile';
SET GLOBAL general_log = 'ON';
This post is licensed under CC BY 4.0 by the author.