Created
August 22, 2017 05:34
-
-
Save Danilovonline/c0cd4f66617b1921d01a0369956afdb4 to your computer and use it in GitHub Desktop.
Enable mysql queries log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET GLOBAL general_log = 1;# '0' for disable | |
SET GLOBAL log_output = 'table'; | |
SELECT * FROM mysql.general_log order by event_time desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment