<?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: Upgrading from MySQL 4 &#8211; user stories</title>
	<atom:link href="http://blog.adishatz.net/?feed=rss2&#038;p=19" rel="self" type="application/rss+xml" />
	<link>http://blog.adishatz.net/?p=19</link>
	<description>random thoughts about the LAMP platform</description>
	<lastBuildDate>Sat, 26 Jun 2010 15:21:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Guillaume</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-105</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Sat, 26 Jun 2010 15:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-105</guid>
		<description>Cindy,

it means that your tables are probably still in the older 4.1 format. Retrocompatibility is a possibility, but I would recommend that you run the mysql_upgrade script to alter the tables to the new format. DECIMAL and VARCHAR fields have different implementations starting from 5.0. Please read http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-previous-series.html for more information.</description>
		<content:encoded><![CDATA[<p>Cindy,</p>
<p>it means that your tables are probably still in the older 4.1 format. Retrocompatibility is a possibility, but I would recommend that you run the mysql_upgrade script to alter the tables to the new format. DECIMAL and VARCHAR fields have different implementations starting from 5.0. Please read <a href="http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-previous-series.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-previous-series.html</a> for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cindy</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-104</link>
		<dc:creator>Cindy</dc:creator>
		<pubDate>Fri, 25 Jun 2010 18:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-104</guid>
		<description>You mentioned,

&quot;Note that binary upgrades are still possible between 5.0 and 5.1 since the storage definitions haven’t changed.&quot;

Are 4.1 and 5.5 storage definitions different? We&#039;ve swaped in 5.5 MySQL binaries with a 4.1 datadir and haven&#039;t had any issues (only testing so far)</description>
		<content:encoded><![CDATA[<p>You mentioned,</p>
<p>&#8220;Note that binary upgrades are still possible between 5.0 and 5.1 since the storage definitions haven’t changed.&#8221;</p>
<p>Are 4.1 and 5.5 storage definitions different? We&#8217;ve swaped in 5.5 MySQL binaries with a 4.1 datadir and haven&#8217;t had any issues (only testing so far)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-45</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Mon, 11 Jan 2010 16:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-45</guid>
		<description>Hi Robert,
thanks, that will be definitely helpful.
I can&#039;t really say how much 4.x installations are still out and ready to migrate. There must be a lot of them remaining though !</description>
		<content:encoded><![CDATA[<p>Hi Robert,<br />
thanks, that will be definitely helpful.<br />
I can&#8217;t really say how much 4.x installations are still out and ready to migrate. There must be a lot of them remaining though !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hodges</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-39</link>
		<dc:creator>Robert Hodges</dc:creator>
		<pubDate>Fri, 08 Jan 2010 21:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-39</guid>
		<description>Thanks for the response. I just filed a JIRA (http://forge.continuent.org/jira/browse/TREP-394)
to start replication from a specific location and can more or less guarantee it will get done in the next 30 days or so.  We are looking hard at features to support complex topologies (e.g., SaaS data architectures) and this is one of the items that was already on my mental to-do list.  

On down-version replication--it more or less works now though we don&#039;t certify it very regularly.  Do you have a sense of how widely 4.0/4.0 to 5.1 migrations are taking place?  To be frank the v3.0 binlog support probably would not be too hard.</description>
		<content:encoded><![CDATA[<p>Thanks for the response. I just filed a JIRA (<a href="http://forge.continuent.org/jira/browse/TREP-394" rel="nofollow">http://forge.continuent.org/jira/browse/TREP-394</a>)<br />
to start replication from a specific location and can more or less guarantee it will get done in the next 30 days or so.  We are looking hard at features to support complex topologies (e.g., SaaS data architectures) and this is one of the items that was already on my mental to-do list.  </p>
<p>On down-version replication&#8211;it more or less works now though we don&#8217;t certify it very regularly.  Do you have a sense of how widely 4.0/4.0 to 5.1 migrations are taking place?  To be frank the v3.0 binlog support probably would not be too hard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tech.Bitez &#187; Upgrading MySQL 4</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-37</link>
		<dc:creator>Tech.Bitez &#187; Upgrading MySQL 4</dc:creator>
		<pubDate>Fri, 08 Jan 2010 18:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-37</guid>
		<description>[...] Today I found a couple of useful articles about upgrading MySQL 4. One is written by Peter Zaitsev and other by Guillaume Lefranc. [...]</description>
		<content:encoded><![CDATA[<p>[...] Today I found a couple of useful articles about upgrading MySQL 4. One is written by Peter Zaitsev and other by Guillaume Lefranc. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-35</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-35</guid>
		<description>Hi Robert,
my point was to be able to start replicating from a specific binlog position from the master (like you would do with traditional mysql replication if you would start from an existing setup). The &quot;down-version&quot; replication feature is very interesting so let me know if you have any progress.</description>
		<content:encoded><![CDATA[<p>Hi Robert,<br />
my point was to be able to start replicating from a specific binlog position from the master (like you would do with traditional mysql replication if you would start from an existing setup). The &#8220;down-version&#8221; replication feature is very interesting so let me know if you have any progress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hodges</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-33</link>
		<dc:creator>Robert Hodges</dc:creator>
		<pubDate>Fri, 08 Jan 2010 06:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-33</guid>
		<description>Hi!  First of all thanks for the pointer to Tungsten. (It&#039;s my baby.)  By the CHANGE MASTER comment, do you mean the ability to restart Tungsten from an arbitrary point in the slave?  If not, could you elaborate?

The real blocker though for Tungsten is that we don&#039;t support 4.0/4.1 logs yet.  I&#039;m kind of in denial on this but it sounds as if this case may be more common than we thought.  We can replicate from 5.1/5.0 down to 4.x but not the other way around.</description>
		<content:encoded><![CDATA[<p>Hi!  First of all thanks for the pointer to Tungsten. (It&#8217;s my baby.)  By the CHANGE MASTER comment, do you mean the ability to restart Tungsten from an arbitrary point in the slave?  If not, could you elaborate?</p>
<p>The real blocker though for Tungsten is that we don&#8217;t support 4.0/4.1 logs yet.  I&#8217;m kind of in denial on this but it sounds as if this case may be more common than we thought.  We can replicate from 5.1/5.0 down to 4.x but not the other way around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri K. Cabral (Pythian)</title>
		<link>http://blog.adishatz.net/?p=19&#038;cpage=1#comment-31</link>
		<dc:creator>Sheeri K. Cabral (Pythian)</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adishatz.net/?p=19#comment-31</guid>
		<description>The replication discrepancy between 4.1 and 5.1 is noted on the same page that it says MySQL supports replication between older masters and newer slaves:

http://dev.mysql.com/doc/refman/5.1/en/replication-compatibility.html

Also, I&#039;ve found that comma joins are the cause of the most problems when upgrading.  The VARCHAR and DECIMAL points are *extremely important*, but I&#039;ve found that it is more difficult to fix (and find) the comma join problem.  

See:
http://pento.net/2009/04/03/join-and-comma-precedence/
http://dev.mysql.com/doc/refman/5.0/en/join.html
(search for &quot;comma join&quot; on the page)

(and if you want a good rant on other reasons not to use comma joins, http://www.pythian.com/news/tag/comma-join/ )</description>
		<content:encoded><![CDATA[<p>The replication discrepancy between 4.1 and 5.1 is noted on the same page that it says MySQL supports replication between older masters and newer slaves:</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/replication-compatibility.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/replication-compatibility.html</a></p>
<p>Also, I&#8217;ve found that comma joins are the cause of the most problems when upgrading.  The VARCHAR and DECIMAL points are *extremely important*, but I&#8217;ve found that it is more difficult to fix (and find) the comma join problem.  </p>
<p>See:<br />
<a href="http://pento.net/2009/04/03/join-and-comma-precedence/" rel="nofollow">http://pento.net/2009/04/03/join-and-comma-precedence/</a><br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/join.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/join.html</a><br />
(search for &#8220;comma join&#8221; on the page)</p>
<p>(and if you want a good rant on other reasons not to use comma joins, <a href="http://www.pythian.com/news/tag/comma-join/" rel="nofollow">http://www.pythian.com/news/tag/comma-join/</a> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
