MySQL主从复制异常.md

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL主从复制异常.md相关的知识,希望对你有一定的参考价值。

一、mysql 5.6 >> MySQL 5.7
错误信息:

Last_Error:
 ... The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state. A restart should restore consistency automatically, although using non-transactional storage for data or info tables or DDL queries could lead to problems. In such cases you have to examine your data (see documentation for details).

解决方法:
关闭并行复制

STOP SLAVE;
SET GLOBAL slave_parallel_workers=0;
START SLAVE;

以上是关于MySQL主从复制异常.md的主要内容,如果未能解决你的问题,请参考以下文章

Linux运维之Shell编程------监控MySQL错误码及主从复制同步异常

mysql主从同步异常原因及恢复syncnavigator

mysql主从同步异常原因及恢复syncnavigator

mysql 5.7 centos 7 主从安装配置详解 .md

编写脚本实现MySQL主从复制状态监控

MySQL主从复制什么原因会造成不一致,如何预防及解决?