mysqlbinlog -d table_name mysql-bin.000003 > table_name.sql mysql -uroot -p table_name < table_name.sql 操作前请务必先备份日志文件!!!