Application Options: --databaseNames databaseName to apply. if multiple, seperate by comma(,) --tableNames tableName to apply. if multiple, seperate by comma(,) --start-position start position --stop-position stop position --start-datetime start time (format %Y-%m-%d %H:%M:%S) --stop-datetime stop time (format %Y-%m-%d %H:%M:%S) --sqlTypes sql type to filter . support INSERT, UPDATE ,DELETE. if multiple, seperate by comma(,) --maxSplitSize max file size after split, the uint is M --binlogFileNames binlog files to process. if multiple, seperate by comma(,) --outBinlogFileNameBase output binlog file name base --logLevel log level, available option is debug,warning,error --include-gtids gtids to process --exclude-gtids gtids to skip
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; # at 4 #251014 16:38:04 server id 1 end_log_pos 123 CRC32 0x6f2768c1 Start: binlog v 4, server v 5.7.44-log created 251014 16:38:04 at startup # Warning: this binlog is either in use or was not closed properly. ROLLBACK/*!*/; BINLOG ' 7AvuaA8BAAAAdwAAAHsAAAABAAQANS43LjQ0LWxvZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAADsC+5oEzgNAAgAEgAEBAQEEgAAXwAEGggAAAAICAgCAAAACgoKKioAEjQA AcFoJ28= '/*!*/; # at 123 #251014 16:38:50 server id 1 end_log_pos 190 CRC32 0x94f81d34 Table_map: `testdatabase`.`ship_log` mapped to number 109 # at 190 #251014 16:38:50 server id 1 end_log_pos 333 CRC32 0xa22a3836 Write_rows: table id 109 flags: STMT_END_F
BINLOG ' GgzuaBMBAAAAQwAAAL4AAAAAAG0AAAAAAAEADHRlc3RkYXRhYmFzZQAIc2hpcF9sb2cABAMPDxEF yADIAAAGNB34lA== GgzuaB4BAAAAjwAAAE0BAAAAAG0AAAAAAAEAAgAE//ABAAAADOm7keePjeePoOWPtwbotbfoiKpo 7guW8AIAAAAP6aOe57+U6I235YWw5Lq6CeW5veeBteWMlmjuC5bwAwAAABXlronlpq7lpbPnjovl pI3ku4flj7cM6K+F5ZKS5r+A5rS7aO4LljY4KqI= '/*!*/; ### INSERT INTO `testdatabase`.`ship_log` ### SET ### @1=1 /* INT meta=0 nullable=0 is_null=0 */ ### @2='黑珍珠号' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @3='起航' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @4=1760430998 /* TIMESTAMP(0) meta=0 nullable=0 is_null=0 */ ### INSERT INTO `testdatabase`.`ship_log` ### SET ### @1=2 /* INT meta=0 nullable=0 is_null=0 */ ### @2='飞翔荷兰人' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @3='幽灵化' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @4=1760430998 /* TIMESTAMP(0) meta=0 nullable=0 is_null=0 */ ### INSERT INTO `testdatabase`.`ship_log` ### SET ### @1=3 /* INT meta=0 nullable=0 is_null=0 */ ### @2='安妮女王复仇号' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @3='诅咒激活' /* VARSTRING(200) meta=200 nullable=1 is_null=0 */ ### @4=1760430998 /* TIMESTAMP(0) meta=0 nullable=0 is_null=0 */ # at 333 #251014 16:38:50 server id 1 end_log_pos 364 CRC32 0x9619e6a7 Xid = 34 COMMIT/*!*/; SET @@SESSION.GTID_NEXT= 'AUTOMATIC' /* added by mysqlbinlog */ /*!*/; DELIMITER ; # End of log file /*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/; /*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;