Preparing MySQL Databases for Migration
If you want to perform online MySQL migrations, prepare your source database for replication as follows:
Depending on your source server configuration, following modes are supported:
- Single server: To enable binary logging, see The Binary Log.
- Multiple replica servers: To setup replication using GTIDs, see Setting Up Replication Using GTIDs.
Note:
The above steps are applicable only when you perform an online migration.