- 论坛徽章:
- 0
|
mysqlbinlog --stop-position=1560 bin_log.000002 |mysql test
试了这样的,貌似没有起作用,楼上的能举一个例子吗?谢谢!
mysqlbinlog bin_log.000002部分结果如下:
# at 1490
#061228 15:17:52 server id 1 log_pos 1490 Query thread_id=19 exec_time=2539 error_code=0
SET TIMESTAMP=1167290272;
delete from groups where n="user";
# at 1560
#061228 15:28:08 server id 1 log_pos 1560 Query thread_id=19 exec_time=1923 error_code=0
SET TIMESTAMP=1167290888;
insert into groups value("user","ts");
# at 1634
#061228 15:53:56 server id 1 log_pos 1634 Query thread_id=19 exec_time=375 error_code=0
SET TIMESTAMP=1167292436;
delete from groups where n="user"; |
|