Created
May 9, 2020 10:04
-
-
Save atastycookie/4ea95635a4c9f8ba05e9be59ad30f70b to your computer and use it in GitHub Desktop.
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 slow_query_log = 1'; | |
SET GLOBAL slow_launch_time = 2; | |
SET GLOBAL long_query_time = '/var/log/mysql/slow.log'; | |
FLUSH SLOW LOGS; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment