标签:glob pos ack _for 配置 文件 修改 limit 运行时
root@oldboy 11:28:05->show global variables like ‘%binlog_format%‘;+---------------+-----------+| Variable_name | Value |+---------------+-----------+| binlog_format | STATEMENT |+---------------+-----------+1 row in set (0.00 sec)[myslqd]log-bin=mysql-bin#binlog_format="STATEMENT"#binlog_format="ROW"#binlog_format="MIXED"mysql>SET GLOBAL binlog_format = ‘ROW‘;mysql>show global variables like ‘%binlog_format%‘;[root@db01 3306]# mysqlbinlog --base64-output="decode-rows" --verbose mysql-bin.000248/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;/*!40019 SET @@session.max_insert_delayed_threads=0*/;/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;DELIMITER /*!*/;# at 4#160628 11:06:52 server id 1 end_log_pos 107 Start: binlog v 4, server v 5.5.49-log created 160628 11:06:52 at startup# Warning: this binlog is either in use or was not closed properly.ROLLBACK/*!*/;# at 107#160628 11:07:09 server id 1 end_log_pos 177 Query thread_id=1 exec_time=0 error_code=0SET TIMESTAMP=1467083229/*!*/;SET @@session.pseudo_thread_id=1/*!*/;SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/;SET @@session.sql_mode=0/*!*/;SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;/*!\C utf8 *//*!*/;SET @@session.character_set_client=33,@@session.collation_connection=33,@@session.collation_server=33/*!*/;SET @@session.lc_time_names=0/*!*/;SET @@session.collation_database=DEFAULT/*!*/;BEGIN/*!*/;# at 177# at 223#160628 11:07:09 server id 1 end_log_pos 223 Table_map: `oldboy`.`sc` mapped to number 33#160628 11:07:09 server id 1 end_log_pos 785 Update_rows: table id 33 flags: STMT_END_F### UPDATE `oldboy`.`sc`### WHERE### @1=1### @2=1001标签:glob pos ack _for 配置 文件 修改 limit 运行时
原文地址:https://www.cnblogs.com/barrywxx/p/11544473.html