<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Blog &#187; mysql error</title>
	<atom:link href="http://informationideas.com/news/tag/mysql-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Tue, 06 Dec 2011 06:39:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mysql server has gone away</title>
		<link>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/</link>
		<comments>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/#comments</comments>
		<pubDate>Sat, 03 May 2008 00:18:51 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[closed connection]]></category>
		<category><![CDATA[database configuration]]></category>
		<category><![CDATA[mysql error]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/</guid>
		<description><![CDATA[I have a spider crawling the web written in PHP running constantly to insert and update data in a Mysql database.Â  Today, it kept stopping on a records with the error message, "Mysql server has gone away".Â  It certainly did not time out as just starting the process again would result in this message immediately.Â  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>I have a spider crawling the web written in PHP running constantly to insert and update data in a Mysql database.Â  Today, it kept stopping on a records with the error message, "Mysql server has gone away".Â  It certainly did not time out as just starting the process again would result in this message immediately.Â  The script did not close out the connection to the DB as it had worked just fine for over a year.</p>
<p>Finally, I found that the problem was max_allowed_packet setting in my.cnf was too small.Â  It was set to 2MB and when Mysql receives a query larger than that, it assumes that something must have gone wrong and closes the connection.Â  I increased that parameter to 4MB and everything is working fine now.</p>
<div class="shr-publisher-48"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.310 seconds -->

