Skip Replication Error

This is happen long time ago when Mysql Replication stop due to duplicate error, Kumay has the log. But I don’t want to do a manual labor. So to skip a duplicate error on A MySQL Replication Server (SLAVE) automatically. Added this line on /etc/my.cnf

Note: Make sure you know what cause a duplicate error and does it really not important so that you can skip inserting that query.

[mysqld]
...
slave-skip-errors=1062

You can use other error code, if that error happen. Again: Make sure you know what cause the error, and why you want to skip it.
References:

SocialTwist Tell-a-Friend

Related posts:

  1. Magento error with pdo_mysql Magento is a great Free / Open source eCommerce script,...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply

CommentLuv Enabled