Narendra Dhami

My Site

How To Set Up Database Replication In MySQL

Posted by Narendra Dhami on September 7, 2009


This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync. This is not a backup policy because an accidentally issued DELETE command will also be carried out on the slave; but replication can help protect against hardware failures though. More …

Adding More Slaves …

Switching Masters During Fail-over …

Master to Slave and Master to Master ….

Advertisements

One Response to “How To Set Up Database Replication In MySQL”

  1. […] Pingback: How To Set Up Database Replication In MySQL « Narendra Dhami […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: