MySQL Forums
Forum List  »  Replication

Re: Mysql 5.7.10 Master-Master replication stops with 1032 error
Posted by: Chintan Shah
Date: June 08, 2016 05:05AM

Hi Rick,

below is the show create statement.

mysql> SHOW CREATE TABLE crm_crmentity_seq;
+-------------------+-------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------------------+-------------------------------------------------------------------------------------------------+
| crm_crmentity_seq | CREATE TABLE `crm_crmentity_seq` (
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
+-------------------+-------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)


Below is the query which update the id in tables.

update crm_crmentity_seq set id=LAST_INSERT_ID(id+1).

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Mysql 5.7.10 Master-Master replication stops with 1032 error
2008
June 08, 2016 05:05AM


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.