Setting up replication requires setting up both the master and slave components as two different configurations. With heterogeneous targets and deployments it is generally easier to deploy the MySQL master independently to the slave that applies data. There are two elements to this process:
Configuration of the MySQL server, including setting basic parameters such as ROW based replication and character set configuration. More information is provided in Section 5.1.1, “Preparing MySQL Hosts for Heterogeneous Deployments”.
Deployment of the replicator using the correct configuration for the downstream replication target. Selection of the appropriate type and deployment instructions can be located in Section 5.1.2, “Choosing a Master MySQL Standalone Replication Type”.