nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案

导读:本篇文章讲解 nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案,希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com

nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS’ at master解决方案

Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ANONYMOUS' at master log binlog.000006, end_log_pos 4179. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any.

使用select * from performance_schema.replication_applier_status_by_worker;查看具体原因

select * from performance_schema.replication_applier_status_by_worker;

原因

Worker 1 failed executing transaction 'ANONYMOUS' at master log binlog.000006, end_log_pos 4179; Error 'Unknown database 'nacos_config'' on query. Default database: 'nacos_config'. Query: 'DELETE FROM his_config_info WHERE gmt_modified < '2022-08-25 17:04:59' LIMIT 1000' | 2022-09-24 09:04:59.673678 | ANONYMOUS

nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案

解决方案

把nacos的主master数据库全部导出,在从数据库slave重新建一个,就可以正常同步了

作为程序员第 236 篇文章,每次写一句歌词记录一下,看看人生有几首歌的时间,wahahaha …
nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案nacos用mysql主从同步报错 Worker 1 failed executing transaction ‘ANONYMOUS‘ at master解决方案

Lyric: 看着你哭泣的脸

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/110639.html

(0)
小半的头像小半

相关推荐

极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!