Mysql binary logs taking up too much space

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

Leave a Reply