ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

mysql binglog

2022-08-05 13:35:42  阅读:206  来源: 互联网

标签:12 nullable binglog meta mysql SET null ###


mysqlbinlog.exe 下载 适用8.0版本
https://wwd.lanzoub.com/iO5by091g32h

在bin目录执行
mysqlbinlog.exe --no-defaults -vv --base64-output=decode-rows "C:\phpstudy_pro\Extensions\MySQL8.0.12\data\binlog.000017" >mysqlbinbibinbinbbin.log

# The proper term is pseudo_replica_mode, but we use this compatibility alias
# to make the statement usable on server versions 8.0.24 and older.
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 4
#220805 12:27:39 server id 1  end_log_pos 124 CRC32 0xb51bf591 	Start: binlog v 4, server v 8.0.12 created 220805 12:27:39 at startup
ROLLBACK/*!*/;
# at 124
#220805 12:27:39 server id 1  end_log_pos 155 CRC32 0x897dc175 	Previous-GTIDs
# [empty]
# at 155
#220805 12:38:38 server id 1  end_log_pos 230 CRC32 0x75cee8b5 	Anonymous_GTID	last_committed=0	sequence_number=1	rbr_only=yes	original_committed_timestamp=1659674318295850	immediate_commit_timestamp=1659674318295850	transaction_length=554
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
# original_commit_timestamp=1659674318295850 (2022-08-05 12:38:38.295850 Öйú±ê׼ʱ¼ä)
# immediate_commit_timestamp=1659674318295850 (2022-08-05 12:38:38.295850 Öйú±ê׼ʱ¼ä)
/*!80001 SET @@session.original_commit_timestamp=1659674318295850*//*!*/;
/*!80014 SET @@session.original_server_version=999999*//*!*/;
/*!80014 SET @@session.immediate_server_version=999999*//*!*/;
SET @@SESSION.GTID_NEXT= 'ANONYMOUS'/*!*/;
# at 230
#220805 12:38:38 server id 1  end_log_pos 323 CRC32 0x6fb8b723 	Query	thread_id=11	exec_time=0	error_code=0
SET TIMESTAMP=1659674318/*!*/;
SET @@session.pseudo_thread_id=11/*!*/;
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
SET @@session.sql_mode=1168113696/*!*/;
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
/*!\C utf8mb4 *//*!*/;
SET @@session.character_set_client=255,@@session.collation_connection=255,@@session.collation_server=192/*!*/;
SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/;
/*!80011 SET @@session.default_collation_for_utf8mb4=255*//*!*/;
BEGIN
/*!*/;
# at 323
#220805 12:38:38 server id 1  end_log_pos 426 CRC32 0x00a57d2c 	Table_map: `liangdong-hao`.`agent_account` mapped to number 72
# at 426
#220805 12:38:38 server id 1  end_log_pos 678 CRC32 0x669f89b4 	Update_rows: table id 72 flags: STMT_END_F
### UPDATE `liangdong-hao`.`agent_account`
### WHERE
###   @1=3 /* LONGINT meta=0 nullable=0 is_null=0 */
###   @2=3 /* LONGINT meta=0 nullable=1 is_null=0 */
###   @3=0 /* INT meta=0 nullable=1 is_null=0 */
###   @4=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @5=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @6=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @7=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @8=3.170 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @9=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @10=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @11='bec5508bc8bf3ed621c034c832cd1ed3' /* VARSTRING(128) meta=128 nullable=1 is_null=0 */
###   @12='2022-04-08 00:30:29' /* DATETIME(0) meta=0 nullable=1 is_null=0 */
###   @13='2022-04-08 00:30:29' /* DATETIME(0) meta=0 nullable=1 is_null=0 */
### SET
###   @1=3 /* LONGINT meta=0 nullable=0 is_null=0 */
###   @2=31 /* LONGINT meta=0 nullable=1 is_null=0 */
###   @3=0 /* INT meta=0 nullable=1 is_null=0 */
###   @4=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @5=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @6=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @7=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @8=3.170 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @9=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @10=0.000 /* DECIMAL(12,3) meta=3075 nullable=1 is_null=0 */
###   @11='bec5508bc8bf3ed621c034c832cd1ed3' /* VARSTRING(128) meta=128 nullable=1 is_null=0 */
###   @12='2022-04-08 00:30:29' /* DATETIME(0) meta=0 nullable=1 is_null=0 */
###   @13='2022-04-08 00:30:29' /* DATETIME(0) meta=0 nullable=1 is_null=0 */
# at 678
#220805 12:38:38 server id 1  end_log_pos 709 CRC32 0xf55ba82f 	Xid = 67
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*/;

标签:12,nullable,binglog,meta,mysql,SET,null,###
来源: https://www.cnblogs.com/ianlab/p/16553952.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有