场景:
MySQL主从复制环境中,从库无法进行数据同步,Slave_SQL_Running: No
问题描述
在主库进行插入语句insert into 00db2.00bak21 values (10,'0021110');后,从库未查到这条数据信息,并且Slave_SQL_Running状态为No
查看从库状态,报错如下:
Last_Errno: 1396 Last_Error: Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction '857d06e9-a091-11ec-b901-000c29d0e59f:37' at master log 00db-binlog.000002, end_log_pos 15138. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any.