Question: mysql is master and slave?
Answer: MySQL replication is a process that enables data from one MySQL database server (the master) to be copied automatically to one or more MySQL database servers (the slaves). ... However, general principles of setting up the MySQL master-slave replication on the same machine are the same for all operating systems.