<?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: &#8220;MySQL server has gone away&#8221; Part 1: max_allowed_packet.</title>
	<atom:link href="http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/</link>
	<description>MySQL Monitoring &#38; GUI Tools</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:59:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Mysql has gone away &#8211; General error: 2006 MySQL server has gone away &#8211; Magento &#124; Spletni sistemi - Internetne rešitve in sistemske integracije</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-80257</link>
		<dc:creator>Mysql has gone away &#8211; General error: 2006 MySQL server has gone away &#8211; Magento &#124; Spletni sistemi - Internetne rešitve in sistemske integracije</dc:creator>
		<pubDate>Fri, 03 Feb 2012 14:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-80257</guid>
		<description>[...] WebYog blog post #1 [...]</description>
		<content:encoded><![CDATA[<p>[...] WebYog blog post #1 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-79543</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 19 Aug 2011 07:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-79543</guid>
		<description>Thanks.It saves my time.i have tried for last 2 days at last i have set
set global max_allowed_packet=1000000000;
set global net_buffer_length=1000000;

Thanks again</description>
		<content:encoded><![CDATA[<p>Thanks.It saves my time.i have tried for last 2 days at last i have set<br />
set global max_allowed_packet=1000000000;<br />
set global net_buffer_length=1000000;</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-15622</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Thu, 05 Aug 2010 11:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-15622</guid>
		<description>I also encountered the same issue and finally got it fixed by increasing &quot;max_allowed_packet&quot; setting..

Thanks.</description>
		<content:encoded><![CDATA[<p>I also encountered the same issue and finally got it fixed by increasing &#8220;max_allowed_packet&#8221; setting..</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Tommasi</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-15448</link>
		<dc:creator>Matthew Tommasi</dc:creator>
		<pubDate>Mon, 02 Aug 2010 04:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-15448</guid>
		<description>I also encountered this error and have written up a step-by-step post on how to resolve it http://thesocialmediaguide.com.au/2010/07/31/solution-for-wordpress-database-error-mysql-server-has-gone-away-for-query/</description>
		<content:encoded><![CDATA[<p>I also encountered this error and have written up a step-by-step post on how to resolve it <a href="http://thesocialmediaguide.com.au/2010/07/31/solution-for-wordpress-database-error-mysql-server-has-gone-away-for-query/" rel="nofollow">http://thesocialmediaguide.com.au/2010/07/31/solution-for-wordpress-database-error-mysql-server-has-gone-away-for-query/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamie</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-12712</link>
		<dc:creator>jamie</dc:creator>
		<pubDate>Wed, 05 May 2010 02:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-12712</guid>
		<description>I think max_allowed_packet is a con to be honest. I&#039;ve tried changing it, restarting both Apache and MySQL and I STILL get the same problem - Mysql gone away.

Despite changing almost every upload related limit number (most being 8M or 10M) not even going up to 32M will let me upload a 1.4M jpg to store in a blob.

I can&#039;t find anyone else on google with this same problem so I&#039;m going to assume that the space-gods have just decided to stand in my way again..</description>
		<content:encoded><![CDATA[<p>I think max_allowed_packet is a con to be honest. I&#8217;ve tried changing it, restarting both Apache and MySQL and I STILL get the same problem &#8211; Mysql gone away.</p>
<p>Despite changing almost every upload related limit number (most being 8M or 10M) not even going up to 32M will let me upload a 1.4M jpg to store in a blob.</p>
<p>I can&#8217;t find anyone else on google with this same problem so I&#8217;m going to assume that the space-gods have just decided to stand in my way again..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter_laursen</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-12162</link>
		<dc:creator>peter_laursen</dc:creator>
		<pubDate>Wed, 14 Apr 2010 04:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-12162</guid>
		<description>more here:
http://bugs.mysql.com/bug.php?id=52802</description>
		<content:encoded><![CDATA[<p>more here:<br />
<a href="http://bugs.mysql.com/bug.php?id=52802" rel="nofollow">http://bugs.mysql.com/bug.php?id=52802</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: junk1958</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-10161</link>
		<dc:creator>junk1958</dc:creator>
		<pubDate>Tue, 29 Dec 2009 19:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-10161</guid>
		<description>I ran into this same error message (“MySQL server has gone away”) which I agree is not only cryptic, but extremely useless.  

After some Internet research and experimentation I found the error message &quot;went away&quot; :-) after I set the following value in my.ini:
max_allowed_packet=12M

Unfortunately, I did not run across this blog article until after that configuration was tested.  If what is said about the other max size is true, I suspect it should actually be 16M instead of 12M to overcome all future issues, so I will set that today before our new deployment.  Thanks for the article.</description>
		<content:encoded><![CDATA[<p>I ran into this same error message (“MySQL server has gone away”) which I agree is not only cryptic, but extremely useless.  </p>
<p>After some Internet research and experimentation I found the error message &#8220;went away&#8221; <img src='http://www.webyog.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  after I set the following value in my.ini:<br />
max_allowed_packet=12M</p>
<p>Unfortunately, I did not run across this blog article until after that configuration was tested.  If what is said about the other max size is true, I suspect it should actually be 16M instead of 12M to overcome all future issues, so I will set that today before our new deployment.  Thanks for the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: :)</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-9193</link>
		<dc:creator>:)</dc:creator>
		<pubDate>Thu, 08 Oct 2009 00:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-9193</guid>
		<description>Thank goodness this is the first google result.  In no time, I realized I just had to shorten the 1000000+char queries to be able to import my backups with sqlyog.

And Notepad++ really helped.  :D  Thanks!</description>
		<content:encoded><![CDATA[<p>Thank goodness this is the first google result.  In no time, I realized I just had to shorten the 1000000+char queries to be able to import my backups with sqlyog.</p>
<p>And Notepad++ really helped.  <img src='http://www.webyog.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />   Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webyog &#187; “MySQL server has gone away” Part 2: session timeout.</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-8541</link>
		<dc:creator>Webyog &#187; “MySQL server has gone away” Part 2: session timeout.</dc:creator>
		<pubDate>Wed, 02 Sep 2009 07:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-8541</guid>
		<description>[...] small series on reasons for the error message: “MySQL server has gone away”. The first appeared here describing that &#8220;if a client sends a SQL-statement longer than the server max_allowed_packet [...]</description>
		<content:encoded><![CDATA[<p>[...] small series on reasons for the error message: “MySQL server has gone away”. The first appeared here describing that &#8220;if a client sends a SQL-statement longer than the server max_allowed_packet [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter_laursen</title>
		<link>http://www.webyog.com/blog/2009/08/10/mysql-server-has-gone-away-part-1-max_allowed_packet/comment-page-1/#comment-8461</link>
		<dc:creator>peter_laursen</dc:creator>
		<pubDate>Fri, 28 Aug 2009 12:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.webyog.com/blog/?p=803#comment-8461</guid>
		<description>@balu

I think it may depend on server version.  After the latest patches has been included I understand that &#039;max_allowed_packet&#039; will have to be defined as a startup parameter (typically in configuration file). I tried

SHOW VARIABLES LIKE &#039;max_allowed_packet&#039;; -- 1048576
SET GLOBAL max_allowed_packet = 20000000; -- approx = 20M
SHOW VARIABLES LIKE &#039;max_allowed_packet&#039;; -- 1048576

This is 5.1.37 and it still may not have the latest patches.  I think server will return an error with the patches. Also if it works for you currently to SET GLOBAL it will not work for users that do not have SUPER privilege (and it should not either of course).


I have no comment to &#039;net_buffer_length&#039;. I would have to study it first!</description>
		<content:encoded><![CDATA[<p>@balu</p>
<p>I think it may depend on server version.  After the latest patches has been included I understand that &#8216;max_allowed_packet&#8217; will have to be defined as a startup parameter (typically in configuration file). I tried</p>
<p>SHOW VARIABLES LIKE &#8216;max_allowed_packet&#8217;; &#8212; 1048576<br />
SET GLOBAL max_allowed_packet = 20000000; &#8212; approx = 20M<br />
SHOW VARIABLES LIKE &#8216;max_allowed_packet&#8217;; &#8212; 1048576</p>
<p>This is 5.1.37 and it still may not have the latest patches.  I think server will return an error with the patches. Also if it works for you currently to SET GLOBAL it will not work for users that do not have SUPER privilege (and it should not either of course).</p>
<p>I have no comment to &#8216;net_buffer_length&#8217;. I would have to study it first!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
