主从复制失败,发现Slave_IO_Running这个进程一直是NO查看错误日志,得到信息是slave用户无法连接到master服务器上position98,relaylog'./mysqld-relay-bin.000001'position:41509214:11:08[ERROR]SlaveI/Othread:errorconnectingtomaster'repl@192.168.126.132:3306':Error:'Host'192.168.126.132'isnotallowedtoconnecttothisMySQLserver'errno:1130retry-time:60retries:864001509215:06:57[Note]SlaveI/Othreadkilledwhileconnectingtomaster1509215:06:57[Note]SlaveI/Othreadexiting,readuptolog'binlog_name.000001',position981509215:06:57[Note]Errorreadingrelaylogevent:slaveSQLthreadwaskilled但是我在slave主机,可以直接使用repl用户连接到master服务器上查询相关的表,为什么说我不允许连接这个机器呢?
森林海
料青山看我应如是
相关分类