Last active
December 17, 2021 12:25
-
-
Save abdes-zakari/1400a4504b837c89bf289bc37617102d to your computer and use it in GitHub Desktop.
Enable MySQL Query Log
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
//Enable MySQL Query Log | |
// To see global variable is enabled or not and location of query log | |
SHOW VARIABLES like 'general%'; | |
// Set query log on | |
SET GLOBAL general_log = ON; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment