MySQL主从同步的Last_IO_Errno:1236错误记录

从服务器错误代码:


大概分析了一下原因,个人认为很可能的因素的由于①mysql版本不同导致;②备份不完全导致的。之前配置版本相同的mysql是不存在这个问题的。(时间问题,没有具体测试原因)文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/

主服务器由于上次php导致的宕机,升级到了最新版本的mysql(5.6.29),而从服务器我刚刚编译的时候使用的5.5.49这个版本的db,因此推断可能是由于这个问题导致的,没有去看官方文档,只是个人猜测。文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/

版本不同导致的另外一个问题是:

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/

我偷懒,直接重新编译一个相同版本的mysql了事,具体原因和版本不同,没有仔细研究。文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/

slave临时跳过错误方法:


slave永久跳过错误的方法:

相关文档:
错误代码:https://note.t4x.org/error/mysql-replication-last_sql_errno/
主从同步https://note.t4x.org/database/configuration-mysql-master-slave/文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/last-io-error-maybe-version-problem/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onMay 4, 2016
  • 原文链接:https://note.t4x.org/error/last-io-error-maybe-version-problem/
匿名

Comment

Anonymous

Slide puzzle verification.