码迷,mamicode.com
首页 > 数据库 > 详细

MySQL主从复制异常.md

时间:2018-09-04 20:48:21      阅读:340      评论:0      收藏:0      [点我收藏+]

标签:data   restart   should   shel   mysql   cas   inf   解决   RKE   

一、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

标签:data   restart   should   shel   mysql   cas   inf   解决   RKE   

原文地址:http://blog.51cto.com/niuduzi/2170386

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!