Skip to content

Instantly share code, notes, and snippets.

@anytizer
Created December 15, 2013 20:04
Show Gist options
  • Select an option

  • Save anytizer/7977439 to your computer and use it in GitHub Desktop.

Select an option

Save anytizer/7977439 to your computer and use it in GitHub Desktop.
MySQL enable log mode (global) way
SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log_file='/tmp/mysql_general.log';
SET GLOBAL general_log = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment