<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to know if a MySQL slave is identical to its master</title>
	<link>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/</link>
	<description>Stay curious!</description>
	<pubDate>Fri, 16 May 2008 04:22:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13594</link>
		<author>Xaprb</author>
		<pubDate>Wed, 31 Oct 2007 13:06:40 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13594</guid>
		<description>Whoops -- I should give more info.  You can use CHECK TABLE and/or REPAIR TABLE and related commands.  Check the relevant section of the manual; it has a lot of info about table corruption and how to fix it.</description>
		<content:encoded><![CDATA[<p>Whoops &#8212; I should give more info.  You can use CHECK TABLE and/or REPAIR TABLE and related commands.  Check the relevant section of the manual; it has a lot of info about table corruption and how to fix it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13593</link>
		<author>Xaprb</author>
		<pubDate>Wed, 31 Oct 2007 13:05:15 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13593</guid>
		<description>Sounds like table or index corruption on the slave.</description>
		<content:encoded><![CDATA[<p>Sounds like table or index corruption on the slave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim H</title>
		<link>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13592</link>
		<author>Tim H</author>
		<pubDate>Wed, 31 Oct 2007 12:59:08 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13592</guid>
		<description>thanks! great info.
I need to implement this system. In the meantime, i had a replication error i cant figure out. Its the "duplicate entry" error, but when i checked the tables, I didnt see a duplicate!

Heres the error on the SLAVE:
Last_Error: Error 'Duplicate entry '555895_17327' for key 3' on query. Query: 'INSERT INTO meeting_sessions (userID, meeting_id, meetingSessionID, sessionID, tstamp, action, userPosition, conport, conhost, clientID, clientVersion) VALUES (@'0', @'1', @'2', @'3', @'4', @'5', @'6', @'7', @'8', @'9', @'10')'

--------------------------
When I looked at the last slave record in that table, it matches the master at the same position in the table! Is there anyway to fix this without re-snapshotting the whole db?</description>
		<content:encoded><![CDATA[<p>thanks! great info.<br />
I need to implement this system. In the meantime, i had a replication error i cant figure out. Its the &#8220;duplicate entry&#8221; error, but when i checked the tables, I didnt see a duplicate!</p>
<p>Heres the error on the SLAVE:<br />
Last_Error: Error &#8216;Duplicate entry &#8216;555895_17327&#8242; for key 3&#8242; on query. Query: &#8216;INSERT INTO meeting_sessions (userID, meeting_id, meetingSessionID, sessionID, tstamp, action, userPosition, conport, conhost, clientID, clientVersion) VALUES (@&#8217;0&#8242;, @&#8217;1&#8242;, @&#8217;2&#8242;, @&#8217;3&#8242;, @&#8217;4&#8242;, @&#8217;5&#8242;, @&#8217;6&#8242;, @&#8217;7&#8242;, @&#8217;8&#8242;, @&#8217;9&#8242;, @&#8217;10&#8242;)&#8217;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
When I looked at the last slave record in that table, it matches the master at the same position in the table! Is there anyway to fix this without re-snapshotting the whole db?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timor</title>
		<link>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13517</link>
		<author>timor</author>
		<pubDate>Thu, 11 Oct 2007 11:35:39 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/04/07/how-to-know-if-a-mysql-slave-is-identical-to-its-master/#comment-13517</guid>
		<description>Here id another way of checking in runtime if slave is in sync with master:

function slaveUpdated(){
[ed: snipped mangled code that checks SHOW SLAVE STATUS]</description>
		<content:encoded><![CDATA[<p>Here id another way of checking in runtime if slave is in sync with master:</p>
<p>function slaveUpdated(){<br />
[ed: snipped mangled code that checks SHOW SLAVE STATUS]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
