Chinaunix首页 | 论坛 | 博客
  • 博客访问: 353629
  • 博文数量: 86
  • 博客积分: 1460
  • 博客等级: 上尉
  • 技术积分: 848
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-12 14:07
文章分类

全部博文(86)

文章存档

2017年(36)

2016年(17)

2015年(1)

2013年(12)

2012年(2)

2011年(1)

2010年(1)

2009年(16)

我的朋友

分类: Mysql/postgreSQL

2017-06-04 09:53:10

mysqlbinlog  --start-position 639576 --stop-position=639745 --base64-output=decode-rows -v mysql-bin.000011
需要从639576639745 才能正确解析出语句,不能从639653 到639745

# at 639576       --开始字节偏移量
#170603  9:38:01 server id 114  end_log_pos 639653 CRC32 0x654eef2b Table_map: `user`.`user_records` mapped to number 180
# at 639653       --终止字节偏移量
#170603  9:38:01 server id 114  end_log_pos 639745 CRC32 0xf7a2381b Write_rows: table id 180 flags: STMT_END_F
### INSERT INTO `jdd_user`.`user_records`
### SET
###   @1=41795812
###   @2=11541077
###   @3=1
###   @4='2017-06-03 09:38:01'
###   @5=22
###   @6=6
###   @7='xxx'
# at 639745  --终止字节偏移量
阅读(1148) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~