mysql – 更改master for channel会出现语法错误
我正在尝试设置多源复制
尝试使用此查询为特定通道设置主控时
CHANGE MASTER TO MASTER_HOST='192.168.0.203', MASTER_USER='rep', MASTER_PORT=3306, MASTER_PASSWORD='pass', MASTER_LOG_FILE='mysql-bin.000003', MASTER_LOG_POS=107 FOR CHANNEL 'master-203';
我收到以下错误
Error Code: 1064. You have an error in your SQL syntax; check the
manual that corresponds to your MariaDB server version for the right
syntax to use near ‘FOR CHANNEL ‘master-203” at line 1
我无法弄清楚问题是什么.该查询几乎是一个复制粘贴from the official documentation
我的服务器正在运行MariaDB 10.1.21
可能有什么不对?