I have a couple of servers and I want to prepare a Master - Slave Mysql replication for one database. The both servers have many databases and I don't want to altere the secuence of ID generation. For example, after I have prepared the configuration I don't want to have in the tables just even numbers for the all the IDs in one of servers.
The replicated database (slave server) will be not accesed for write.
Is posible to configure that scenario? Many thanks in advance.
server_idandauto_increment_increment. Now I have configured it and it works well. The only thing to keep in mind is to add the parameters in my.cnf within the [mysqld] section. I didn’t, and it did not run until I’ve been realised that was for this reason. I'm not sure if I must to delete this question as it could not contribute with anything to other users. - MikeBau