Message from discussion
check-table-sync dose not work
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
justlooks <justlo... @gmail.com>
Date: Fri, 7 Oct 2011 23:06:09 -0700 (PDT)
Local: Sat, Oct 8 2011 2:06 am
Subject: check-table-sync dose not work
i have a replication mysql env , and one master (version 5.0.22-
log) ,one slave (version 5.0.77-log)
and i find one table has different data ,but when i use mk-table-sync
to sync data ,i find after sync the value of checksum is same with
before sync
[root@OA_DB_21 ~]# mk-table-checksum h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1
DATABASE TABLE CHUNK HOST ENGINE COUNT
CHECKSUM TIME WAIT STAT LAG
oa_cate category1 0 localhost MyISAM NULL
105196059 0 0 NULL NULL
oa_cate category1 0 10.103.33.29 MyISAM NULL
2212111249 0 0 NULL NULL
[root@OA_DB_21 ~]# mk-table-sync h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1 --execute --nocheck-slave
[root@OA_DB_21 ~]# mk-table-checksum h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1
DATABASE TABLE CHUNK HOST ENGINE COUNT
CHECKSUM TIME WAIT STAT LAG
oa_cate category1 0 localhost MyISAM NULL
105196059 0 0 NULL NULL
oa_cate category1 0 10.103.33.29 MyISAM NULL
2212111249 0 0 NULL NULL
You must
Sign in before you can post messages.
You do not have the permission required to post.