Comments - Switch over at a database level

8 years, 10 months ago Rhys Campbell

https://www.digitalocean.com/community/tutorials/how-to-set-up-mysql-master-master-replication

Essentially both servers are slaves of each other. They can both accept writes that will be replicated to each other.

You need to be careful about not writing on both...

server1\db1 server2\db1

Or you'll end up with data issues.

 
8 years, 10 months ago Maho Arita

Thanks, I see what you mean now. :)

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.