/usr/local/mysql/bin/mysqlbinlog mysql-bin.000163 --database=cooperation --base64-output=decode-rows -vv --start-datetime="2023-09-12 19:51:28" --stop-datetime="2023-09-12 19:51:48" --skip-gtids=true |grep -C 1 -i "@" > tmp2.sql
记一下从binglog日志获取更新前的数据的命令