我使用Ansible创建了一个多服务器环境,其中有两组数据库服务器在主从配置中,因此总共有四个主机。我的库存文件目前设置如下:set1-db-masterset1-db-slave在游戏手册中,command: systemctl stop mysql
when: inventory_hostname in groups['dbslave
我尝试使用mysql version8在centos7中配置mysql主从配置,遵循链接,一切正常,没有错误,但最后在从属服务器中使用> show slave status\G检查时,我得到了错误
Last_IO_Errorconnecting to master 'replica@xx.xx.xx.xx:3306' - retry-time: 60 retries: 1 message: Can't connect to MySQLserver on