【发布时间】:2021-10-11 07:19:08
【问题描述】:
我正在尝试配置mysql主从配置 在带有 mysql 版本 8 的 centos 7 中 点击链接https://linuxize.com/post/how-to-configure-mysql-master-slave-replication-on-centos-7/ 一切顺利,没有错误 但最后当检查 > show slave status\G in slave server 我有错误
Last_IO_Error: error connecting to master 'replica@xx.xx.xx.xx:3306' - retry-time: 60 retries: 1 message: Can't connect to MySQL server on 'xx.xx.xx.xx:3306' (113)
Slave_IO_Running: Connecting
Slave_SQL_Running: Yes
xx.xx.xx.xx是主服务器ip 由于上述问题,数据库未复制 端口已打开
任何解决问题的线索
【问题讨论】:
标签: mysql replication master-slave