Skip to content

Instantly share code, notes, and snippets.

@kany
Created September 6, 2012 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kany/3658110 to your computer and use it in GitHub Desktop.
Save kany/3658110 to your computer and use it in GitHub Desktop.
WTF MySQL! Eating up diskspace
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