What is the fastest method to restore MySQL replication?

Posted by dwhere on Server Fault See other posts from Server Fault or by dwhere
Published on 2011-03-02T14:37:27Z Indexed on 2011/03/02 15:26 UTC
Read the original article Hit count: 202

Filed under:
|

I have a MySQL (5.1) master-slave replication pair and replication to the slave has failed. It failed because the master ran out of disk space and the relay-logs became corrupt. The master is now back online and working properly. Since there is this error in the log the slave process can't simply be restarted.

The server has a single 40GB InnoDB database and I would like to know what is the fastest method for getting the slave back in sync to minimize downtime.

© Server Fault or respective owner

Related posts about mysql

Related posts about mysql-replication