다른 DBMS/MySQL&MariaDB
[server_errno=4052] Error reading packet from server: A slave with the same server_uuid/server_id as this slave has connected to the master
취미툰
2024. 4. 22. 13:39
반응형
에러 메세지
아래의 에러메세지가 replication 환경의 slave 서버쪽에서 실시간으로 쌓이고 있었습니다.
[ERROR] Error reading packet from server: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event 'binlog.000011' at 54049840, the last event read from 'binlog.000011' at 256, the last byte read from 'binlog.000011' at 54049840. (server_errno=4052)
아래는 mariadb 사이트의 에러 번호 설명입니다.
이 슬레이브와 동일한 server_uuid/server_id를 가진 슬레이브가 마스터에 연결되었습니다
4052 | ER_SLAVE_SAME_ID | A slave with the same server_uuid/server_id as this slave has connected to the master |
원인
동일한 server_id를 가진 다른 slave서버가 있었고, 그 slave 서버가 기동되고 나서 부터 발생하였습니다.
해결
동일한 server-id를 가진 서버를 확인후에 하나를 내려서 해결하였습니다. 다시 기동시에는 server-id를 변경 후에 기동하면 될거 같습니다.
반응형