replication issue for 4 servers

You are viewing an old version of this question. View the current version here.

I have 4 mariadb servers. - data update on server_id=1, data will replicate to all 3 servers (2,3,4) - data update on server_id=2, data will replicate to server-1. but after the server-1 got the changes, the server (3,4) will not get updated.

Please help.

server 1 (MASTER/SLAVE):
[mariadb]
log-bin
server_id=1
log-basename=master1
binlog-format=mixed
auto-increment-increment=2
auto-increment-offset=1

server 2 (MASTER/SLAVE):
[mariadb]
server-id=2
log-bin
log-basename=master2
binlog-format=mixed
auto-increment-increment=2
auto-increment-offset=2

server 3 (SLAVE):
[mariadb]
server_id=3

server 4 (SLAVE):
[mariadb]
server_id=4

Answer Answered by Daniel Black in this comment.

log_slave_updates is needed on replication slaves that replicate to other servers. So I assume in your case server_id=1,2

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.