Created
September 6, 2012 16:22
-
-
Save kany/3658110 to your computer and use it in GitHub Desktop.
WTF MySQL! Eating up diskspace
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
How to clear all those 'mysql-bin.00000**' files from /usr/local/var/mysql: | |
1) mysql -u root | |
2) flush logs; | |
3) reset master; | |
DONE! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment