How do I set up master/slave database configuration for an existing setup?

How do I set up master/slave database configuration for an existing setup?

Question:

Answer: