Created
December 30, 2013 15:46
-
-
Save CarlRevell/8183652 to your computer and use it in GitHub Desktop.
Turn on SQL statement logging in MySQL to the file /path/to/your/logfile.log
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 log_output = "FILE"; --which may be set by default, I think. | |
SET GLOBAL general_log_file = "/path/to/your/logfile.log" | |
SET GLOBAL general_log = 'ON'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment