Created
February 13, 2010 01:03
-
-
Save timothyw/303168 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
mysql> SET GLOBAL general_log = 1; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> show variables like 'general%'; | |
+------------------+---------------------------------+ | |
| Variable_name | Value | | |
+------------------+---------------------------------+ | |
| general_log | ON | | |
| general_log_file | /usr/log/mysql/mysql.log | | |
+------------------+---------------------------------+ | |
mysql> SET GLOBAL general_log = 0; | |
Query OK, 0 rows affected (0.00 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment