mysql> show binary logs; mysql> purge binary logs to 'mysql-bin.000079'; mysql> show binary logs; mysql> reset master; #重置所有的日志