Skip to content

Instantly share code, notes, and snippets.

@arun057
Created May 14, 2013 20:10
Show Gist options
  • Save arun057/5579081 to your computer and use it in GitHub Desktop.
Save arun057/5579081 to your computer and use it in GitHub Desktop.
Enable mySQL global logging.
SET GLOBAL general_log = 'ON';
// Additonally , to see where all your log files are located,
SELECT * FROM information_schema.GLOBAL_VARIABLES where VARIABLE_NAME like '%log%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment