Created
November 5, 2015 17:31
-
-
Save jawira/c57f97d15c8dc68e3df0 to your computer and use it in GitHub Desktop.
How to show the last queries executed on 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
-- Source: http://stackoverflow.com/questions/650238/how-to-show-the-last-queries-executed-on-mysql | |
SET GLOBAL log_output = "FILE"; | |
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