mysql> show binary logs;
mysql> purge binary logs to 'binlog.000005'; (删除mysql bin-log日志,删除binlog.000005之前的,不包括binlog.000005)
mysql> show binary logs;
mysql> purge binary logs to 'binlog.000005'; (删除mysql bin-log日志,删除binlog.000005之前的,不包括binlog.000005)