Created
December 20, 2017 08:00
-
-
Save jvadillo/88d42e1d488d0bfc0e78621b239adfba to your computer and use it in GitHub Desktop.
Activate logs in Xampp-Mysql
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
# The MySQL server | |
[mysqld] | |
#Enable Slow Query Log | |
long_query_time = 1 | |
slow_query_log_file = "C:/slowquery.log" | |
#Do NOT Start Logging on Startup | |
slow_query_log = 1 | |
general_log_file = "C:/xampp/genquery.log" | |
#Do NOT Start Logging on Startup | |
general_log = 1 | |
#In phpMyAdmin, I went to the SQL tab, and ran this: | |
#SET GLOBAL general_log = 'ON'; | |
#SET GLOBAL slow_query_log = 'ON'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment