CCVOIP
asked on
Mysql auto increment
I have 4 Mysql database servers, at some point I will have two of them as masters. how can I configure the following variables :
Regards,
auto_increment_increment
auto_increment_offset
Regards,
The official explanation is here: http://dev.mysql.com/doc/refman/5.7/en/replication-options-master.html
ASKER
Thanks Dave. I already went through that link.
My question is : in a group of 4 mysql db servers where 2 of them can be picked(randomly) as masters and the other two stays slaves. what values should I give for those two variables in each server.
Thanks.
My question is : in a group of 4 mysql db servers where 2 of them can be picked(randomly) as masters and the other two stays slaves. what values should I give for those two variables in each server.
Thanks.
I don't know, someone else will have to answer that.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I found a link that helped me to understand how to set auto_increment parameters and put it here for others