<?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 upgrade to 5.1.22 and stored procedures</title>
	<atom:link href="http://northernmost.org/blog/mysql-upgrade-to-5122-and-stored-procedures/feed/" rel="self" type="application/rss+xml" />
	<link>http://northernmost.org/blog/mysql-upgrade-to-5122-and-stored-procedures/</link>
	<description>Just another manic Monday</description>
	<lastBuildDate>Tue, 22 Jun 2010 09:11:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: 2ge</title>
		<link>http://northernmost.org/blog/mysql-upgrade-to-5122-and-stored-procedures/comment-page-1/#comment-631</link>
		<dc:creator>2ge</dc:creator>
		<pubDate>Tue, 16 Dec 2008 11:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://northernmost.org/blog/?p=5#comment-631</guid>
		<description>Thanks a lot for this, I came into same problem after upgrading. RUV - your solution is just perfect, it works :)</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this, I came into same problem after upgrading. RUV &#8211; your solution is just perfect, it works :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruv</title>
		<link>http://northernmost.org/blog/mysql-upgrade-to-5122-and-stored-procedures/comment-page-1/#comment-628</link>
		<dc:creator>ruv</dc:creator>
		<pubDate>Sat, 15 Nov 2008 17:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://northernmost.org/blog/?p=5#comment-628</guid>
		<description>Using the mysql.proc table is more easy way.

I created a new procedure and looked at those fields:

 SELECT * FROM mysql.proc WHERE name=&quot;MyTestProc&quot;;

        utf8
        utf8_general_ci
        utf8_general_ci

Ok, now we can update them all:

UPDATE 
  mysql.proc
SET 
  character_set_client = &#039;utf8&#039;              ,
  collation_connection = &#039;utf8_general_ci&#039;   ,
  db_collation         = &#039;utf8_general_ci&#039;   
WHERE
  db_collation IS NULL
;</description>
		<content:encoded><![CDATA[<p>Using the mysql.proc table is more easy way.</p>
<p>I created a new procedure and looked at those fields:</p>
<p> SELECT * FROM mysql.proc WHERE name=&#8221;MyTestProc&#8221;;</p>
<p>        utf8<br />
        utf8_general_ci<br />
        utf8_general_ci</p>
<p>Ok, now we can update them all:</p>
<p>UPDATE<br />
  mysql.proc<br />
SET<br />
  character_set_client = &#8216;utf8&#8242;              ,<br />
  collation_connection = &#8216;utf8_general_ci&#8217;   ,<br />
  db_collation         = &#8216;utf8_general_ci&#8217;<br />
WHERE<br />
  db_collation IS NULL<br />
;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
