mysql> show binary logs; 删除bin-log(删除mysql-bin.000018以前的全部二进制日志文件) mysql> purge binary logs to 'mysql-bin.000018';