ERROR 3077 (HY000): To have multiple channels, repository cannot be of type FILE; Please check the r
Posted 长城之上是千亿的星空,星空之上是不灭的守望。
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 3077 (HY000): To have multiple channels, repository cannot be of type FILE; Please check the r相关的知识,希望对你有一定的参考价值。
在5.7.16搭建多源复制时,出现如下错误:
mysql> change master to master_host=‘192.168.56.156‘,master_user=‘repl‘,master_password=‘oracle‘,master_port=3306,MASTER_AUTO_POSITION = 1 for channel ‘master-15633006‘;
ERROR 3077 (HY000): To have multiple channels, repository cannot be of type FILE; Please check the repository configuration and convert them to TABLE.
错误原因:
需要在从库配置下面两个参数
master_info_repository =table
relay_log_info_repository =table
以上是关于ERROR 3077 (HY000): To have multiple channels, repository cannot be of type FILE; Please check the r的主要内容,如果未能解决你的问题,请参考以下文章
MySQL报错ERROR1872(HY000):Slave failed to initialize
ERROR 2002 (HY000): Can’t connect to local MySQL
Wamp mysql : ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
ERROR 2003 (HY000): Can't connect to MySQL server
“ERROR 2013 (HY000): Lost connection to MySQL server during query”同时删除数据库