Link to home
Create AccountLog in
Avatar of CCVOIP
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 :

auto_increment_increment
auto_increment_offset

Regards,
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Avatar of CCVOIP
CCVOIP

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.
I don't know, someone else will have to answer that.
ASKER CERTIFIED SOLUTION
Avatar of CCVOIP
CCVOIP

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of CCVOIP

ASKER

I found a link that helped me to understand how to set auto_increment parameters and put it here for others