Last active
August 22, 2018 02:05
-
-
Save danielecook/92caa21f37125266ccdace01b2f76b7c to your computer and use it in GitHub Desktop.
Enable logging in mysql
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 = 'ON'; | |
SET GLOBAL general_log_file = "/Users/dancook/Documents/snippet-q/snippet-q/mysql.log"; | |
SET GLOBAL log_output = 'FILE'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment