mysql开启bin-log,在my.ini中配置

# Binary Logging.
log-bin=D:\MySQL\mybinlog\mysql_bin
server-id=120908
binlog-format=Row
mysqlbinlog   --start-position=391772 --stop-position=392035  D:\MySQL\mybinlog\mysql_bin.000001  > d:\test.sql
 source d:\test.sql
mysqlbinlog   --start-datetime="2021-05-11 12:28:00" --stop-datetime="2021-05-11 12:28:10"  D:\MySQL\mybinlog\mysql_bin.000001  > d:\test2.sql
Copyright © TaoQZ 2019 all right reserved,powered by Gitbook作者联系方式:taoqingzhou@gmail.com 修订时间: 2024-11-19 17:25:44

results matching ""

    No results matching ""

    results matching ""

      No results matching ""