Created
August 23, 2015 05:52
-
-
Save tranquangchau/18695b4b8f92f23db584 to your computer and use it in GitHub Desktop.
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
[mysqld] | |
general_log = on | |
general_log_file=/usr/log/general.log | |
in your my.cnf / my.ini file | |
Ubuntu/Debian: /etc/mysql/my.cnf | |
Windows: c:\ProgramData\MySQL\MySQL Server 5.x | |
wamp: c:\wamp\bin\mysql\mysqlx.y.z\my.ini | |
xampp: c:\xampp\mysql\bin\my.ini. | |
http://stackoverflow.com/questions/303994/log-all-queries-in-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment