Percona MySQL Server 5.7.23 是否支持多源复制?
Does Percona MySQL Server 5.7.23 support multi-source replication?
我们要运行多源复制。
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 Server 是否不支持多源复制或 SQL 命令应该不同?
看起来正确的语法是 FOR CHANNEL 'master-1'
我们要运行多源复制。
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 Server 是否不支持多源复制或 SQL 命令应该不同?
看起来正确的语法是 FOR CHANNEL 'master-1'