percona mysql server 5.7.23是否支持多源复制?

xytpbqjk  于 2021-06-18  发布在  Mysql
关注(0)|答案(1)|浏览(356)

我们要运行多源复制。

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命令应该不同?

f3temu5u

f3temu5u1#

看来正确的辛塔克斯是 FOR CHANNEL 'master-1'

相关问题