Question

I want to set up an Master Slave Replication between 2 different servers. The specialty is, that the Master is not allowed to talk to the slave, but the slave can talk with the master. I can not change slave to master, because the data inserted has to be on the master which can not talk (ping) with the slave. Can anyone tell me if I have to look at something when setting it up or can provide a guide which works good? Thanks in advance

Was it helpful?

Solution

All that is required is for the slave to be able to establish and maintain a connection on the master's MySQL TCP port (3306 by default). There is no need for the master to be able to establish a connection to the slave. If you can telnet from the slave to port 3306 (or whatever port mysqld is running on) on the master, that should be all the networking you need.

There are a lot of guides, but the best one is the MySQL manual, see Chapter 17 Replication.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top