Last_SQL_Errno: 1032

LAST_ERROR_NUMBER: 1032
    LAST_ERROR_MESSAGE: Worker 1 failed executing transaction '648300a7-2877-11eb-bf0b-fa163e9979d4:4287733' at master log mysql-bin.001681, end_log_pos 891882398; Could not execute Delete_rows event on table XX.m_XX; Can't find record in 'm_XXXX', Error_code: 1032; handler error HA_ERR_END_OF_FILE; the event's master log FIRST, end_log_pos 891882398
        LAST_ERROR_TIMESTAMP: 2021-07-02 22:32:21.335217
--停止同步
stop slave;
--跳过错误的GTID
SET @@SESSION.GTID_NEXT= '648300a7-2877-11eb-bf0b-fa163e9979d4:4287733';
--提交一个空事务
BEGIN; COMMIT;
--设置回自动模式
SET SESSION GTID_NEXT = AUTOMATIC;
START SLAVE;
show slave status\G;

上一篇:pscp 从win10远程传输文件到centos7


下一篇:errno以及网络编程使用场景