Last active
March 15, 2016 16:30
-
-
Save iolloyd/d2c54f80444dceb07308 to your computer and use it in GitHub Desktop.
Enable mysql logging without restarting the mysql server
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
-- Make sure you pick somewhere you | |
-- have permissions to write to. | |
SET GLOBAL GENERAL_LOG = 'off'; | |
SET GLOBAL GENERAL_LOG_FILE = '/Users/lloyd/mysql.log'; | |
SET GLOBAL GENERAL_LOG = 'on'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment