My Oracle Support Banner

Synchronize Only Specific Tables Over MySQL Replication (Doc ID 1476509.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Server - Version 5.0 to 5.5 [Release 5.0 to 5.5]
Information in this document applies to any platform.


Please assume that tables t1 and t2 on db1 are out of sync between the master and the slave, and you are sure that all other tables are okay. Let's fix inconsistency between the master and the slave.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Step 1) Stop the slave
 Step 2) Backup the tables on the master
 Step 3) Forward the slave to the same position as the dump
 Step 4) Wait until the slave reaches to the specified binlog position
 Step 5) Restore the dump
 Step 6) Start the slave

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.