I am testing multi-master replication to one slave.
I have downloaded the MySQL Multi-Source Replication files from MYSQL Labs and set gtid-mode=on for replication. The masters are located on remote servers and I'm configuring slave in my local instance. JFI, I'm running a Windows 8 64-bit OS.
However, I am not able to set multiple channels using the below CHANGE MASTER TO statement for multi-source replication-
mysql> CHANGE MASTER TO
-> MASTER_HOST="hostname",
-> MASTER_USER="repluser",
-> MASTER_PASSWORD="password",
-> MASTER_PORT=3306 for CHANNEL="master1";
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for CHANNEL="master1"' at line 5
Am I supposed to install the lab files in some way to make this work?
Thanks in advance.
I have downloaded the MySQL Multi-Source Replication files from MYSQL Labs and set gtid-mode=on for replication. The masters are located on remote servers and I'm configuring slave in my local instance. JFI, I'm running a Windows 8 64-bit OS.
However, I am not able to set multiple channels using the below CHANGE MASTER TO statement for multi-source replication-
mysql> CHANGE MASTER TO
-> MASTER_HOST="hostname",
-> MASTER_USER="repluser",
-> MASTER_PASSWORD="password",
-> MASTER_PORT=3306 for CHANNEL="master1";
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for CHANNEL="master1"' at line 5
Am I supposed to install the lab files in some way to make this work?
Thanks in advance.