搭建数据库从库报错:
160411 14:30:39 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'MySQL-bin.000004' at position 4279701
协助搭建数据库从库,之前同事搭建好了数据库,只需要将主库全部dump下来,记录binlog在从库还原即可。
change master配置的时候,搭建成功,但是通过 show slave status\G查看从库状态,一会YES,一会NO....
查看从库警告日志:
160411 14:30:39 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.000004' at position 4279701
从库没有连接成功!
检查配置文件的server-id,是另一个从库的配置文件,修改即可!
文章标题:Failedreadinglogevent,reconnectingtoretry
网站网址:
http://njwzjz.com/article/jcppph.html