How to sync MySQL database between two servers I need to sync a MySQL database between two servers.

If a new record will be added in server A, then server B fetch new record.  

If a new record will be added in server B, then server A fetch new record.
You should probably go for Master-Master Replication .

http://www.howtoforge.com/mysql_master_master_replication