<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: MySQL: How do you set up master-master replication in MySQL? (CentOS, RHEL, Fedora)</title>
	<atom:link href="http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/</link>
	<description>Enterprise level solutions, LAMP, Linux, Apache, MySQL, PHP, Perl, Windows, Cache, Optimization</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:44:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MySQL Replication Series: How does MySQL replication work? &#124; Fredonfire</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-1043</link>
		<dc:creator>MySQL Replication Series: How does MySQL replication work? &#124; Fredonfire</dc:creator>
		<pubDate>Sat, 15 Oct 2011 02:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-1043</guid>
		<description>[...] following simple directions. You can learn setting up two type of replication MySQL offers here: master-master replication and master-slave replication. Once you have replication set up, you can start playing with it [...]</description>
		<content:encoded><![CDATA[<p>[...] following simple directions. You can learn setting up two type of replication MySQL offers here: master-master replication and master-slave replication. Once you have replication set up, you can start playing with it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahendran</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-1010</link>
		<dc:creator>Mahendran</dc:creator>
		<pubDate>Tue, 05 Apr 2011 13:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-1010</guid>
		<description>i have done the above setup but it act as master/slave...but i need master to master replication ie if i create a database in one server it will replicate on another and wise-versa ...my requirement is only for redundancy...
please advice me what i have to do for master to master replication....

thanks in advance
Mahendran.R</description>
		<content:encoded><![CDATA[<p>i have done the above setup but it act as master/slave&#8230;but i need master to master replication ie if i create a database in one server it will replicate on another and wise-versa &#8230;my requirement is only for redundancy&#8230;<br />
please advice me what i have to do for master to master replication&#8230;.</p>
<p>thanks in advance<br />
Mahendran.R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pradeep</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-968</link>
		<dc:creator>pradeep</dc:creator>
		<pubDate>Fri, 22 Oct 2010 07:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-968</guid>
		<description>Hi! i am new in mysql and trying to establish master master replication in mysql

on first server i have added these lines to mysqld section of my.cnf(mysql  Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1)

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-bin=/var/lib/mysql/mysql-bin.log
binlog-do-db=sample1  
binlog-ignore-db=mysql            
binlog-ignore-db=information_schema
binlog-ignore-db=test2
binlog-ignore-db=sample3
binlog-ignore-db=example3
binlog-ignore-db=endpoints
binlog-ignore-db=meetme
binlog-ignore-db=test
binlog-ignore-db=sample2

server-id=1
master-host = 192.xxx.x.xxx
master-user = abc
master-password = abc_pass
master-connect-retry = 60

relay-log = /var/lib/mysql/slave-relay.log
relay-log-index = /var/lib/mysql/slave-relay-log.index

On second server i have added these lines to mysqld section of my.cnf(mysql  Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1)

server-id=2

master-host = 192.xxx.x.xxx
master-user = xyz
master-password = xyz_pass
master-connect-retry = 60

relay-log = /var/lib/mysql/slave-relay.log
relay-log-index = /var/lib/mysql/slave-relay-log.index

log-bin = /var/lib/mysql/mysql-bin.log
binlog-do-db = sample1
binlog-ignore-db=mysql
binlog-ignore-db=information_schema
binlog-ignore-db=phpmyadmin

on first server slave status is

*************************** 1. row ***************************
             Slave_IO_State: Connecting to master
                Master_Host: 192.xxx.x.xx
                Master_User: abc
                Master_Port: 3306
              Connect_Retry: 60
            Master_Log_File: mysql-bin.000001
        Read_Master_Log_Pos: 36158
             Relay_Log_File: slave-relay.000001
              Relay_Log_Pos: 98
      Relay_Master_Log_File: mysql-bin.000001
           Slave_IO_Running: No
          Slave_SQL_Running: Yes
            Replicate_Do_DB: 
        Replicate_Ignore_DB: 
         Replicate_Do_Table: 
     Replicate_Ignore_Table: 
    Replicate_Wild_Do_Table: 
Replicate_Wild_Ignore_Table: 
                 Last_Errno: 0
                 Last_Error: 
               Skip_Counter: 0
        Exec_Master_Log_Pos: 36158
            Relay_Log_Space: 98
            Until_Condition: None
             Until_Log_File: 
              Until_Log_Pos: 0
         Master_SSL_Allowed: No
         Master_SSL_CA_File: 
         Master_SSL_CA_Path: 
            Master_SSL_Cert: 
          Master_SSL_Cipher: 
             Master_SSL_Key: 
      Seconds_Behind_Master: NULL
1 row in set (0.00 sec)

ERROR: 
No query specified

On second server slave status is

*************************** 1. row ***************************
               Slave_IO_State: Connecting to master
                  Master_Host: 192.xxx.x.xxx
                  Master_User: xyz
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: 
          Read_Master_Log_Pos: 4
               Relay_Log_File: slave-relay.000003
                Relay_Log_Pos: 4
        Relay_Master_Log_File: 
             Slave_IO_Running: No
            Slave_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Errno: 0
                   Last_Error: 
                 Skip_Counter: 5
          Exec_Master_Log_Pos: 0
              Relay_Log_Space: 106
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File: 
           Master_SSL_CA_Path: 
              Master_SSL_Cert: 
            Master_SSL_Cipher: 
               Master_SSL_Key: 
        Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 1045
                Last_IO_Error: error connecting to master &#039;abc@192.xxx.x.xxx:3306&#039; - retry-time: 60  retries: 86400
               Last_SQL_Errno: 0
               Last_SQL_Error: 
1 row in set (0.00 sec)

ERROR: 
No query specified

Do&#039;nt know why Slave_IO_Running is no.

i have tried a lot to start replication but i am still unable to start replication.
i have also commented 
#bind-address           = 127.0.0.1
and
#skip-external-locking

i need your help. Please send your suggestions and solution for this problem.

Thanks in advance.

regards,
pradeep</description>
		<content:encoded><![CDATA[<p>Hi! i am new in mysql and trying to establish master master replication in mysql</p>
<p>on first server i have added these lines to mysqld section of my.cnf(mysql  Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1)</p>
<p>datadir=/var/lib/mysql<br />
socket=/var/lib/mysql/mysql.sock<br />
log-bin=/var/lib/mysql/mysql-bin.log<br />
binlog-do-db=sample1<br />
binlog-ignore-db=mysql<br />
binlog-ignore-db=information_schema<br />
binlog-ignore-db=test2<br />
binlog-ignore-db=sample3<br />
binlog-ignore-db=example3<br />
binlog-ignore-db=endpoints<br />
binlog-ignore-db=meetme<br />
binlog-ignore-db=test<br />
binlog-ignore-db=sample2</p>
<p>server-id=1<br />
master-host = 192.xxx.x.xxx<br />
master-user = abc<br />
master-password = abc_pass<br />
master-connect-retry = 60</p>
<p>relay-log = /var/lib/mysql/slave-relay.log<br />
relay-log-index = /var/lib/mysql/slave-relay-log.index</p>
<p>On second server i have added these lines to mysqld section of my.cnf(mysql  Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1)</p>
<p>server-id=2</p>
<p>master-host = 192.xxx.x.xxx<br />
master-user = xyz<br />
master-password = xyz_pass<br />
master-connect-retry = 60</p>
<p>relay-log = /var/lib/mysql/slave-relay.log<br />
relay-log-index = /var/lib/mysql/slave-relay-log.index</p>
<p>log-bin = /var/lib/mysql/mysql-bin.log<br />
binlog-do-db = sample1<br />
binlog-ignore-db=mysql<br />
binlog-ignore-db=information_schema<br />
binlog-ignore-db=phpmyadmin</p>
<p>on first server slave status is</p>
<p>*************************** 1. row ***************************<br />
             Slave_IO_State: Connecting to master<br />
                Master_Host: 192.xxx.x.xx<br />
                Master_User: abc<br />
                Master_Port: 3306<br />
              Connect_Retry: 60<br />
            Master_Log_File: mysql-bin.000001<br />
        Read_Master_Log_Pos: 36158<br />
             Relay_Log_File: slave-relay.000001<br />
              Relay_Log_Pos: 98<br />
      Relay_Master_Log_File: mysql-bin.000001<br />
           Slave_IO_Running: No<br />
          Slave_SQL_Running: Yes<br />
            Replicate_Do_DB:<br />
        Replicate_Ignore_DB:<br />
         Replicate_Do_Table:<br />
     Replicate_Ignore_Table:<br />
    Replicate_Wild_Do_Table:<br />
Replicate_Wild_Ignore_Table:<br />
                 Last_Errno: 0<br />
                 Last_Error:<br />
               Skip_Counter: 0<br />
        Exec_Master_Log_Pos: 36158<br />
            Relay_Log_Space: 98<br />
            Until_Condition: None<br />
             Until_Log_File:<br />
              Until_Log_Pos: 0<br />
         Master_SSL_Allowed: No<br />
         Master_SSL_CA_File:<br />
         Master_SSL_CA_Path:<br />
            Master_SSL_Cert:<br />
          Master_SSL_Cipher:<br />
             Master_SSL_Key:<br />
      Seconds_Behind_Master: NULL<br />
1 row in set (0.00 sec)</p>
<p>ERROR:<br />
No query specified</p>
<p>On second server slave status is</p>
<p>*************************** 1. row ***************************<br />
               Slave_IO_State: Connecting to master<br />
                  Master_Host: 192.xxx.x.xxx<br />
                  Master_User: xyz<br />
                  Master_Port: 3306<br />
                Connect_Retry: 60<br />
              Master_Log_File:<br />
          Read_Master_Log_Pos: 4<br />
               Relay_Log_File: slave-relay.000003<br />
                Relay_Log_Pos: 4<br />
        Relay_Master_Log_File:<br />
             Slave_IO_Running: No<br />
            Slave_SQL_Running: Yes<br />
              Replicate_Do_DB:<br />
          Replicate_Ignore_DB:<br />
           Replicate_Do_Table:<br />
       Replicate_Ignore_Table:<br />
      Replicate_Wild_Do_Table:<br />
  Replicate_Wild_Ignore_Table:<br />
                   Last_Errno: 0<br />
                   Last_Error:<br />
                 Skip_Counter: 5<br />
          Exec_Master_Log_Pos: 0<br />
              Relay_Log_Space: 106<br />
              Until_Condition: None<br />
               Until_Log_File:<br />
                Until_Log_Pos: 0<br />
           Master_SSL_Allowed: No<br />
           Master_SSL_CA_File:<br />
           Master_SSL_CA_Path:<br />
              Master_SSL_Cert:<br />
            Master_SSL_Cipher:<br />
               Master_SSL_Key:<br />
        Seconds_Behind_Master: NULL<br />
Master_SSL_Verify_Server_Cert: No<br />
                Last_IO_Errno: 1045<br />
                Last_IO_Error: error connecting to master &#8216;abc@192.xxx.x.xxx:3306&#8242; &#8211; retry-time: 60  retries: 86400<br />
               Last_SQL_Errno: 0<br />
               Last_SQL_Error:<br />
1 row in set (0.00 sec)</p>
<p>ERROR:<br />
No query specified</p>
<p>Do&#8217;nt know why Slave_IO_Running is no.</p>
<p>i have tried a lot to start replication but i am still unable to start replication.<br />
i have also commented<br />
#bind-address           = 127.0.0.1<br />
and<br />
#skip-external-locking</p>
<p>i need your help. Please send your suggestions and solution for this problem.</p>
<p>Thanks in advance.</p>
<p>regards,<br />
pradeep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hernan</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-785</link>
		<dc:creator>hernan</dc:creator>
		<pubDate>Fri, 24 Oct 2008 16:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-785</guid>
		<description>I have a master-master replication, and change a table and a field in an master but I jenera error and comunication is almost loss.

can you help me, how I can do to add another field to a table without losing comunication</description>
		<content:encoded><![CDATA[<p>I have a master-master replication, and change a table and a field in an master but I jenera error and comunication is almost loss.</p>
<p>can you help me, how I can do to add another field to a table without losing comunication</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL Replication Series: How does MySQL replication works? &#124; Technology: Learn and Share</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-659</link>
		<dc:creator>MySQL Replication Series: How does MySQL replication works? &#124; Technology: Learn and Share</dc:creator>
		<pubDate>Thu, 17 Apr 2008 16:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-659</guid>
		<description>[...] following simple directions. You can learn setting up two type of replication MySQL offers here:  master-master replication and master-slave replication. Once you have replication set up, you can start playing with it [...]</description>
		<content:encoded><![CDATA[<p>[...] following simple directions. You can learn setting up two type of replication MySQL offers here:  master-master replication and master-slave replication. Once you have replication set up, you can start playing with it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #87: a Carnival of the Vanities for DBAs</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-631</link>
		<dc:creator>Log Buffer #87: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 07 Mar 2008 17:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-631</guid>
		<description>[...] offers answers to the question, how do you set up master-master replication in MySQL?, laying out the basics of this [...]</description>
		<content:encoded><![CDATA[<p>[...] offers answers to the question, how do you set up master-master replication in MySQL?, laying out the basics of this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael S Moody</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-605</link>
		<dc:creator>Michael S Moody</dc:creator>
		<pubDate>Mon, 03 Mar 2008 14:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-605</guid>
		<description>I generally find it better to do auto-increment = 10, instead of odd/evens like this, in case I need to swap in another master with a different server-id on a regular basis. This gives me 10-19 as possibiliets for id&#039;s, vs just even/odd.

Michael</description>
		<content:encoded><![CDATA[<p>I generally find it better to do auto-increment = 10, instead of odd/evens like this, in case I need to swap in another master with a different server-id on a regular basis. This gives me 10-19 as possibiliets for id&#8217;s, vs just even/odd.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CrazyToon</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-604</link>
		<dc:creator>CrazyToon</dc:creator>
		<pubDate>Sat, 01 Mar 2008 09:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-604</guid>
		<description>Karsten,

Good catch.  Thats what I get for copying pasting :)  It has been corrected.</description>
		<content:encoded><![CDATA[<p>Karsten,</p>
<p>Good catch.  Thats what I get for copying pasting <img src='http://crazytoon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   It has been corrected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karsten Thygesen</title>
		<link>http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/comment-page-1/#comment-603</link>
		<dc:creator>Karsten Thygesen</dc:creator>
		<pubDate>Sat, 01 Mar 2008 09:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/#comment-603</guid>
		<description>Hi

I believe, that the server-id should be different in the two master setup&#039;s. One should have server-id=1 and the other server-id=2 or something similar.

But thanks for a nice roundup!

Karsten</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I believe, that the server-id should be different in the two master setup&#8217;s. One should have server-id=1 and the other server-id=2 or something similar.</p>
<p>But thanks for a nice roundup!</p>
<p>Karsten</p>
]]></content:encoded>
	</item>
</channel>
</rss>

