<?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"
	>
<channel>
	<title>Comments on: How to upgrade MySQL on a server with Plesk</title>
	<atom:link href="http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/</link>
	<description>Personal News, Photos and Technical Information</description>
	<pubDate>Sat, 22 Nov 2008 02:57:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Jeff</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-238</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sun, 13 Apr 2008 23:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-238</guid>
		<description>Temi, 

Make sure you backup your databases before trying any of this.

Basically you need to convert your MySQL5 db to a MySQL4 db. Heres the steps I recommend:

1. Reverse the process so you're running MySQL 5.0 again.

2. cd into the /var/lib/mysql directory.

3. run the command - mysqldump -uadmin -p --compatible=mysql40 --all-databases --add-drop-database &gt; /databases.sql

   This will ask you for your Plesk admin password and then dump the contents of the databases in a format compatible with mysql4. Make sure you are root while doing all this, because it will save the databases.sql file in your root home directory. 

4. Downgrade again to MySQL4.

5. cd /var/lib/mysql   and then rm -rf *   
    BE CAREFUL. you only want to empty out the /var/lib/mysql directory.

6. Make sure your mysqld is running and then do this command - mysql &lt; /databases.sql   - then restart the mysqld again.


Hopefully this will get you running MySQL4 with your databases in the MySQL4 format.</description>
		<content:encoded><![CDATA[<p>Temi, </p>
<p>Make sure you backup your databases before trying any of this.</p>
<p>Basically you need to convert your MySQL5 db to a MySQL4 db. Heres the steps I recommend:</p>
<p>1. Reverse the process so you&#8217;re running MySQL 5.0 again.</p>
<p>2. cd into the /var/lib/mysql directory.</p>
<p>3. run the command - mysqldump -uadmin -p &#8211;compatible=mysql40 &#8211;all-databases &#8211;add-drop-database > /databases.sql</p>
<p>   This will ask you for your Plesk admin password and then dump the contents of the databases in a format compatible with mysql4. Make sure you are root while doing all this, because it will save the databases.sql file in your root home directory. </p>
<p>4. Downgrade again to MySQL4.</p>
<p>5. cd /var/lib/mysql   and then rm -rf *<br />
    BE CAREFUL. you only want to empty out the /var/lib/mysql directory.</p>
<p>6. Make sure your mysqld is running and then do this command - mysql < /databases.sql   - then restart the mysqld again.</p>
<p>Hopefully this will get you running MySQL4 with your databases in the MySQL4 format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Temi</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-237</link>
		<dc:creator>Temi</dc:creator>
		<pubDate>Sun, 13 Apr 2008 21:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-237</guid>
		<description>I followed these instructions in Plesk 8.3 trying to downgrade MySQL 5 to MySQL 4.

When I start the new service it starts but it breaks Plesk and I get this error: 

Service is not available now, probably your Plesk is misconfigured.
Contact Your provider for details.

Internal Plesk error occurred: MySQL query failed: Table './psa/misc' was created with a different version of MySQL and cannot be read

What do I do now ?</description>
		<content:encoded><![CDATA[<p>I followed these instructions in Plesk 8.3 trying to downgrade MySQL 5 to MySQL 4.</p>
<p>When I start the new service it starts but it breaks Plesk and I get this error: </p>
<p>Service is not available now, probably your Plesk is misconfigured.<br />
Contact Your provider for details.</p>
<p>Internal Plesk error occurred: MySQL query failed: Table &#8216;./psa/misc&#8217; was created with a different version of MySQL and cannot be read</p>
<p>What do I do now ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-234</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 11 Apr 2008 22:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-234</guid>
		<description>Thanks for the tutorial. Exactly what I needed and all is working great. I would only add that if you are going to be doing more database work from the command line you should put one more line in my.cnf:

[client]
socket=/var/lib/mysql/mysql.sock

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. Exactly what I needed and all is working great. I would only add that if you are going to be doing more database work from the command line you should put one more line in my.cnf:</p>
<p>[client]<br />
socket=/var/lib/mysql/mysql.sock</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-233</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 11 Apr 2008 20:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-233</guid>
		<description>Temi, 

It should work downgrading as well. You'll need to just find the old version that you want from their website. Otherwise you can follow the instructions in this post, and it should work.</description>
		<content:encoded><![CDATA[<p>Temi, </p>
<p>It should work downgrading as well. You&#8217;ll need to just find the old version that you want from their website. Otherwise you can follow the instructions in this post, and it should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Temi</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-230</link>
		<dc:creator>Temi</dc:creator>
		<pubDate>Thu, 10 Apr 2008 19:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-230</guid>
		<description>Would you by any chance know if this would work for downgrading from 5.0 to 4.1? I have a Plesk server that comes with MySQL 5.0 by default but my website requires 4.1.</description>
		<content:encoded><![CDATA[<p>Would you by any chance know if this would work for downgrading from 5.0 to 4.1? I have a Plesk server that comes with MySQL 5.0 by default but my website requires 4.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-204</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 23 Mar 2008 14:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-204</guid>
		<description>This works perfectly for Plesk 8.2 on Fedora Core 2 hosted by WebFusion.co.uk

Thanks!</description>
		<content:encoded><![CDATA[<p>This works perfectly for Plesk 8.2 on Fedora Core 2 hosted by WebFusion.co.uk</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel Guzman</title>
		<link>http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-35</link>
		<dc:creator>Manuel Guzman</dc:creator>
		<pubDate>Sat, 29 Sep 2007 00:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/03/03/how-to-upgrade-mysql-on-a-server-with-plesk/#comment-35</guid>
		<description>Thank you.  It worked perfectly for my GoDaddy VPS as well.</description>
		<content:encoded><![CDATA[<p>Thank you.  It worked perfectly for my GoDaddy VPS as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
