mysql集群出现:Last_IO_Error: error connecting to master 'repl@xxx:3306' - retry-time: 60 retries: 1

网上的经验:
网络不同,账号密码不对,密码太长,密码由 # 字符;检查MASTER_HOST,MASTER_USER,MASTER_PASSWORD(不知道 MASTER_LOG_FILE 有没有影响)

但是,对我都没用,突然想起来用navicat登陆mysql时出现报错:

  client does not support authentication protocol requested by server consider upgrading mysql client

原因是密码编码方式不对,需要修改 

alter user 'root'@'%' IDENTIFIED with mysql_native_password  by '123456';

我用同样的方法把repl的密码也改了一下,固然好了~~~

猜你喜欢

转载自www.cnblogs.com/jaxlove-it/p/10139265.html