MySQL Master-Master Replication
To set up a dual master replication with MySQL, only some modification must be done, it's very simple and there is a lot of howto's on the topic. This is my contribution with a basic setup and I've tried to gather common commands to maintain such solution.
The big picture :
The first step is to configure both mysql using the file my.cnf (usualy on /etc in GNU/Linux) :