Switch over at a database level
Is it possible to switch over an individual database?
For example, with the below scenario: - I have 3-server replication - Server contains multiple databases owned by different users
I'd like to manually switch over only one database, "MyDb1" as a failover test. The rest of the databases residing on the same MariaDB server should not be impacted. This is to minimize the impact to other databases for failover test exercise.
Is this possible by Standard Replication?
I'd be grateful for this information.
Answer Answered by Rhys Campbell in this comment.
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...
Or you'll end up with data issues.