Created
August 21, 2015 16:05
-
-
Save EdEichman/d23efaf2500695a80224 to your computer and use it in GitHub Desktop.
Windows BAT file to toggle MySQL logging. Set up for default XAMPP installation
This file contains hidden or 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
@echo off | |
set /p state="Set MySQL Logging state ON or OFF: " | |
c:\xampp\mysql\bin\mysql -u "root" -e "SET GLOBAL general_log = '%state%'; | |
%SystemRoot%\explorer.exe "C:\xampp\mysql\data" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment