Last active
November 17, 2015 02:57
-
-
Save xcsrz/5fd377886de291a36604 to your computer and use it in GitHub Desktop.
Query mysql logs
This file contains 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; | |
SET global log_output = 'table'; | |
-- and then | |
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