我尝试使用mysql version8在centos7中配置mysql主从配置,遵循链接,一切正常,没有错误,但最后在从属服务器中使用> show slave status\G检查时,我得到了错误
Last_IO_Error: error connecting to master 'replica@xx.xx.xx.xx:3306' - retry-time: 60 retries: 1 message: Can't connectto MySQL server on 'xx.xx.xx.xx:3306<
我必须通过在httpd.conf和httpd-vhosts中设置"Listens“将端口从80更改为8000。2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")编辑:当我将端口更改为3306并在my.ini中取消对行skip-grant-tables的注释时,它可以正常工作