January 2018
Intermediate to advanced
446 pages
12h 57m
English
Assume that the masters are master1 and master2.
Steps:
mysql> SET @@GLOBAL.READ_ONLY=ON;
mysql> SHOW MASTER STATUS;+----------------+----------+--------------+------------------+-------------------+| File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |+----------------+----------+--------------+------------------+-------------------+| server1.000017 | 473 | | | |+----------------+----------+--------------+------------------+-------------------+1 row in set (0.00 sec)
From the preceding output, you can start the replication on master1 from ...