手动清空binlog 删除指定编号之前的 binlog purge binary logs to 'mysql-bin.005518' PURGE MASTER LOGS TO 'mysql-bin.015067' 查看binlog show binlog events # 查看每个binlog块大小 show binary logs