Skip to content

Instantly share code, notes, and snippets.

@kany
Created September 6, 2012 16:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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