A replica with the same server_uuid/server_id as this replica has connected to the source;

异常现象:

(1236, "A replica with the same server_uuid/server_id as this replica has connected to the source; the first event 'binlog.***' at 4, the last event read from '.\\binlog.***' at *****, the last byte read from '.\\binlog.***' at *****.")

异常原因:

  多个程序同时读取同一个MySQL的binlog会出现此异常。

解决方案:

  关闭其他读取程序,保留一个。

posted @ 2024-08-09 17:06  新*  阅读(45)  评论(0编辑  收藏  举报