MySQL Forums
Forum List  »  Replication

Re: Error Duplicate entry - Master-Slave replication
Posted by: Rob Lansu
Date: February 21, 2012 07:13AM

Please can somebody shine some light on this topic.

I also have a setup with a read/write master and a read only slave.
Still triggers occasionally give problems generating "duplicate primary keys".
I solved it by deleting the triggers on the slave (so the logging tables are only on the master), but in the future the slave has to become a read/write replica, so this solution is not futureproof.

If anyone can solve this mystery?

TIA

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Error Duplicate entry - Master-Slave replication
3357
February 21, 2012 07:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.