我们要运行多源复制。
Server version: 5.7.23-23-log Percona Server (GPL), Release '23', Revision '500fcf5'
mysql> CHANGE MASTER TO MASTER_HOST='1.2.3.4', MASTER_PORT=3306, MASTER_USER='repl', MASTER_PASSWORD='xxx' 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 '="master1"' at line 1
最新版本的percona服务器不支持多源复制还是sql命令应该不同?
1条答案
按热度按时间webghufk1#
看来正确的辛塔克斯是
FOR CHANNEL 'master-1'