標籤:style color os io strong ar art 問題
/usr/local/mysql/bin/mysqlbinlog -vv /var/lib/bin/mysql-bin.000008 --base64-output=DECODE-ROWS --start-pos=307
問題:這個究竟是什麼意思
[[email protected] mysql]# /usr/local/mysql/bin/mysqlbinlog -vv /var/lib/bin/mysql-bin.000008 --base64-output=DECODE-ROWS --start-pos=307
Warning: Using unique option prefix start-pos instead of start-position is deprecated and will be removed in a future release. Please use the full name instead.
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @[email protected]@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 307
#140820 7:56:56 server id 1 end_log_pos 338 CRC32 0x3ebc4dbb Xid = 42
COMMIT/*!*/;
# at 338
#140820 7:58:29 server id 1 end_log_pos 361 CRC32 0x2db75773 Stop
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET [email protected]_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
[[email protected] mysql]# /usr/local/mysql/bin/mysqlbinlog -vv /var/lib/bin/mysql-bin.000008 --start-pos=307
Warning: Using unique option prefix start-pos instead of start-position is deprecated and will be removed in a future release. Please use the full name instead.
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @[email protected]@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 4
#140820 7:56:31 server id 1 end_log_pos 120 CRC32 0x4e0c426a Start: binlog v 4, server v 5.6.15-log created 140820 7:56:31
BINLOG ‘
L+TzUw8BAAAAdAAAAHgAAAAAAAQANS42LjE1LWxvZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAXAAEGggAAAAICAgCAAAACgoKGRkAAWpC
DE4=
‘/*!*/;
# at 307
#140820 7:56:56 server id 1 end_log_pos 338 CRC32 0x3ebc4dbb Xid = 42
COMMIT/*!*/;
# at 338
#140820 7:58:29 server id 1 end_log_pos 361 CRC32 0x2db75773 Stop
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET [email protected]_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
測試如下,貌似不加中個參數沒有辦法指定了start-pos的位置