MySQL Multi-Source Replication mysql>  CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE = (’db1.%’) FOR CHANNEL "source_1"; mysql>  CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE = (’db2.%’) FOR CHANNEL "source_2"; For the full syntax of the  CHANGE REPLICATION FILTER  statement and other available options, see Section 13.4.2.2, “CHANGE REPLICATION FILTER Statement” . These steps assume that binary logging is enabled on the source (which is the default), the replica is using TABLE  based replication applier metadata repositories (which is the default in MySQL 8.0), and that you have enabled a replication user and noted the current binary log file name and position. Use the  CHANGE REPLICATION SOURCE TO  statement (from MySQL 8.0.23) or  CHANGE MASTER TO statement (before MySQL 8.0.23) to configure a replication channel for each source on the replica (see Section 17.2.2, “Replication Channels” ). The  FOR CHANNEL  clause is used to specify the channel. For example, to add  source1  and  source2  as sources to the replica, use the  mysql  client to issue the statement twice on the replica, like this: To make the replica replicate only database  db1  from  source1 , and only database  db2  from  source2 , use the  mysql  client to issue the  CHANGE REPLICATION FILTER  statement for each channel, like this: mysql>  CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE = (’db1.%’) FOR CHANNEL "source_1"; mysql>  CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE = (’db2.%’) FOR CHANNEL "source_2"; For the full syntax of the  CHANGE REPLICATION FILTER  statement and other available options, see Section 13.4.2.2, “CHANGE REPLICATION FILTER Statement” . Once you have added channels for all of the replication sources, issue a  START REPLICA | SLAVE statement to start replication. When you have enabled multiple channels on a replica, you can choose to either start all channels, or select a specific channel to start. For example, to start the two channels separately, use the  mysql  client to issue the following statements: For the full syntax of the  START REPLICA | SLAVE  command and other available options, see Section 13.4.2.7, “START REPLICA | SLAVE Statement” . To verify that both channels have started and are operating correctly, you can issue  SHOW REPLICA | SLAVE STATUS  statements on the replica, for example: 3485 17.1.5.5 Starting Multi-Source Replicas 17.1.5.4 Adding Binary Log Based Replication Sources to a Multi-Source Replica mysql>  START SLAVE FOR CHANNEL "source_1"; mysql>  START SLAVE FOR CHANNEL "source_2"; Or from MySQL 8.0.22: mysql>  START REPLICA FOR CHANNEL "source_1"; mysql>  START REPLICA FOR CHANNEL "source_2"; mysql>  SHOW SLAVE STATUS FOR CHANNEL "source_1"\G mysql>  SHOW SLAVE STATUS FOR CHANNEL "source_2"\G Or from MySQL 8.0.22: mysql>  CHANGE MASTER TO MASTER_HOST="source1", MASTER_USER="ted", MASTER_PASSWORD=" password ", \ MASTER_LOG_FILE=’source1-bin.000006’, MASTER_LOG_POS=628 FOR CHANNEL "source_1"; mysql>  CHANGE MASTER TO MASTER_HOST="source2", MASTER_USER="ted", MASTER_PASSWORD=" password ", \ MASTER_LOG_FILE=’source2-bin.000018’, MASTER_LOG_POS=104 FOR CHANNEL "source_2"; Or from MySQL 8.0.23: mysql>  CHANGE REPLICATION SOURCE TO SOURCE_HOST="source1", SOURCE_USER="ted", SOURCE_PASSWORD=" password SOURCE_LOG_FILE=’source1-bin.000006’, SOURCE_LOG_POS=628 FOR CHANNEL "source_1"; mysql>  CHANGE REPLICATION SOURCE TO SOURCE_HOST="source2", SOURCE_USER="ted", SOURCE_PASSWORD=" password SOURCE_LOG_FILE=’source2-bin.000018’, SOURCE_LOG_POS=104 FOR CHANNEL "source_2";