http://erlycoder.com/43/mysql-master-slave-and-master-master-replication-step-by-step-configuration-instructions-