MySQL Forums
Forum List  »  Replication

Re: Duplication values in autoincremented field on replication
Posted by: Vitaly Khatlamadzhiyan
Date: October 02, 2017 02:17AM

I found a temporary and more dirty method - added BEFORE INSERT trigger for CHANGES to set ID manually.
It works. But I still can't figure out why the native AUTO_INCREMENT mechanism is generating duplicated ids.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Duplication values in autoincremented field on replication
311
October 02, 2017 02:17AM


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.