Created
October 26, 2015 10:38
-
-
Save exuan/57cb3bb7c6d6616c26d4 to your computer and use it in GitHub Desktop.
清理MySQL bin 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
PURGE BINARY LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 3 DAY); | |
PURGE BINARY LOGS TO 'mysql-bin.000082'; | |
/** | |
* 重置 | |
*/ | |
RESET MASTER; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment