1. 程式人生 > >MySQL主從復制異常.md

MySQL主從復制異常.md

tails examine tomat tables call problem stat 異常 star

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