I'm running out of disk space on a slave due to MySQL binary logs (mysql-bin.000xxx
) being stored on the slave.
Here's the relevant portion of the slave's my.cnf
:
binlog_format = mixed
log_bin = /var/log/mysql/mysql-bin.log
sync_binlog = 1
I'm currently catching up to Master, so I expect to see a bunch of mysql-relay-bin.00xxxx
's on Slave, but I'm not sure why it also needs mysql-bin.000xxx
's.
The Master also has a lot of mysql-bin.000xxx
's, but I expect it there.