replication slave skip query
Posted on February 23, 2012
run the following commands to skip a query in the replication.
SHOW SLAVE STATUS G
STOP SLAVE;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
START SLAVE
run the following commands to skip a query in the replication.
SHOW SLAVE STATUS G
STOP SLAVE;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
START SLAVE