1.清理指定binlog文件之前的binlog,如下代码清理007235之前所有的binlog文件(不包含007235文件本身)。
purge master logs to 'logbin.007235'