Home > database >  The mysql database failover to do
The mysql database failover to do

Time:10-03

There are two server
Above all have a database
Hope is two database data can be synchronized
But when a database problems
Will automatically jump to another one

CodePudding user response:

Automatic switching data
First configuration 2 database default data source 1 when the database hung up the data source will snap interceptor automatically switch to the data source 2 at this moment

CodePudding user response:

The simplest is to use keepalived

CodePudding user response:

Itself does not implement, can only use a third party, of course, because is not native, so extreme cases is not reliable, make do with it

CodePudding user response:

Take a look at this blog http://www.cnblogs.com/alvin_xp/p/4162249.html

CodePudding user response:

The main master replicate or through a third party such as keeplive

CodePudding user response:

keepalived
  • Related