Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running MySQL 5.1.36 in all my servers.

I want to replicate database_A from master_host_A and database_B from master_host_B into a single slave server. All the three MySQL servers are remotely located.

Is it possible for me to setup replication of multiple masters to a single slave server ? If yes please let me know how should I approach?

Is it feasible for production servers ?

Warm Regards

Supratik

share|improve this question

1 Answer 1

up vote 3 down vote accepted

MySQL does not support replicating from multiple masters to a single slave.

If you want to replicate data from multiple masters to a single physical server, you will need multiple instances of MySQL slaving from the different masters. If listening on TCP/IP, you will need to configure them on different ports and specify different locations.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.