January 2018
Intermediate to advanced
446 pages
12h 57m
English
Assume that you are setting up server3 as a slave of server1 and server2. You need to create traditional replication from server1 to server3 over a channel and from server2 to server3 over another channel. To ensure that data is consistent on the slave, make sure that different sets of databases are replicated or the application takes care of the conflicts.
Before you begin, take a backup from server1 and restore on server3; similarly take a backup from server2 and restore on server3, as described in Chapter 9, Replication.
mysql> STOP SLAVE; //If slave is already runningmysql> SET GLOBAL master_info_repository ...
Read now
Unlock full access