<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Akash Kava &#187; Master-Slave</title>
	<atom:link href="http://akashkava.com/blog/tag/master-slave/feed/" rel="self" type="application/rss+xml" />
	<link>http://akashkava.com/blog</link>
	<description>Founder of NeuroSpeech</description>
	<lastBuildDate>Tue, 10 Apr 2012 18:00:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Setup MySQL 5.1 Replication on Windows Servers</title>
		<link>http://akashkava.com/blog/321/setup-mysql-5-1-replication-on-windows-servers/</link>
		<comments>http://akashkava.com/blog/321/setup-mysql-5-1-replication-on-windows-servers/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 16:07:00 +0000</pubDate>
		<dc:creator>Akash Kava</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Master-Slave]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://akashkava.com/blog/321/setup-mysql-5-1-replication-on-windows-servers/</guid>
		<description><![CDATA[This article illustrates step by step procedure of how to setup MySQL Master to Slave Asynchronous Replication with MySQL 5.1 Server and with MySQL Workbench tools 5.2 on Windows Server. Installation You need to download MySQL from the corresponding download location and install “Windows Installer Package” and make sure you install the edition with Server [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://akashkava.com/blog/321/setup-mysql-5-1-replication-on-windows-servers/";
		digg_bgcolor = "";
		digg_skin = "";
		digg_window = "";
		digg_title = "Setup+MySQL+5.1+Replication+on+Windows+Servers";
		digg_media = "";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fakashkava.com%2Fblog%2F321%2Fsetup-mysql-5-1-replication-on-windows-servers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fakashkava.com%2Fblog%2F321%2Fsetup-mysql-5-1-replication-on-windows-servers%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p align="justify"> This article illustrates step by step procedure of how to setup MySQL Master to Slave Asynchronous Replication with MySQL 5.1 Server and with MySQL Workbench tools 5.2 on Windows Server.</p>
<h3 align="justify">Installation</h3>
<p align="justify">You need to download MySQL from the corresponding download location and install “Windows Installer Package” and make sure you install the edition with Server configuration wizard and configure your server accordingly.</p>
<p align="justify">You have to setup 2 servers, one as Master and one as Slave, and both must be accessible via TCP/IP to each other.</p>
<p align="justify">Also configure Workbench to open localhost connection for administration.</p>
<h2>Configure Bin Log on Master</h2>
<p>Open configuration on Master and setup following options in Log Files to configure bin log.</p>
<p><a href="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterBinLog.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="MySQL-Replication-Master-Bin-Log" border="0" alt="MySQL-Replication-Master-Bin-Log" src="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterBinLog_thumb.png" width="601" height="502" /></a></p>
<h2>Configure Master Server ID</h2>
</p>
<p><a href="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterServerID.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="MySQL-Replication-Master-Server-ID" border="0" alt="MySQL-Replication-Master-Server-ID" src="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterServerID_thumb.png" width="644" height="224" /></a> </p>
<h2>Configure Replication User ID on Master</h2>
<p>In order for Slave to access your server, you must setup a user “replication_user” (you can choose your own name) and give replication access as shown in picture.<a href="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterUser.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="MySQL-Replication-Master-User" border="0" alt="MySQL-Replication-Master-User" src="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationMasterUser_thumb.png" width="644" height="332" /></a></p>
<h2> Configure Replication Slave Server ID</h2>
<p>Now go to your Slave server and set its Server ID as shown below.</p>
<p><a href="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationSlaveServerID.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="MySQL-Replication-Slave-Server-ID" border="0" alt="MySQL-Replication-Slave-Server-ID" src="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationSlaveServerID_thumb.png" width="644" height="142" /></a></p>
<h2> Configure Replication Settings on Slave</h2>
<p>This is the last step to configure your Slave server, please make sure you enter correct address of your Master server and username and password as shown below. Just tick the Master info file name and give a path of file on any folder, even if file does not exist, dont worry, it will be created automatically by slave server.</p>
<p><a href="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationSlaveSettings.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="MySQL-Replication-Slave-Settings" border="0" alt="MySQL-Replication-Slave-Settings" src="http://akashkava.com/blog/wp-content/uploads/2010/06/MySQLReplicationSlaveSettings_thumb.png" width="644" height="416" /></a> </p>
<h2>Start Slave</h2>
<p>The final step is to open query browser and run the query “START SLAVE”.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fakashkava.com%2Fblog%2F321%2Fsetup-mysql-5-1-replication-on-windows-servers%2F&amp;title=Setup%20MySQL%205.1%20Replication%20on%20Windows%20Servers"><img src="http://akashkava.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://akashkava.com/blog/321/setup-mysql-5-1-replication-on-windows-servers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

