Created
August 27, 2012 09:09
-
-
Save timglabisch/3486822 to your computer and use it in GitHub Desktop.
mysql enable logging
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 Profiling = "ON"; | |
SET GLOBAL log_output = "TABLE"; | |
SET GLOBAL long_query_time = 1; | |
SET GLOBAL log_queries_not_using_indexes = "ON"; | |
SET GLOBAL general_log = "ON"; | |
SET GLOBAL slow_query_log = "ON"; | |
SET GLOBAL min_examined_row_limit = 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment