Archive for March, 2013

Mysql binary logs taking up too much space

Tuesday, March 12th, 2013

A little housekeeping is required to reclaim the space

Navigate to /var/lib/mysql and see how far the logs goes to

Then run

mysql -u root -p ‘MyPassword’ -e “PURGE BINARY LOGS TO ‘mysql-bin.0000x’;” to purge the logs