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

新*發表於2024-08-09

異常現象:

(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會出現此異常。

解決方案:

  關閉其他讀取程式,保留一個。

相關文章