0

I am successfully able to set up master-slave replication of database with MySQL. So, whenever I am updating my database on master, It will automatically replicated on the slave. Now, I have situation like, it is also possible that database might be updated on the slave, and it should be replicated on master. Basically, I want the Replication in two direction.

Please, suggest me some possible ways

1

This is called as MySQL Master-Master replication. You can follow these links which can be helpful to you:

1. How to setup Master-Master replication

2. How to setup Master-Master replication

Another way to implement multi-master replication, including circular replication is using MySQL Cluster.

3. MySQL Cluster replication - Multi Master

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy