<?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>Seocracy.com &#187; rails</title>
	<atom:link href="http://seocracy.com/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://seocracy.com</link>
	<description>A blog about technical SEO, Ruby, Web Apps, and more</description>
	<lastBuildDate>Wed, 28 Apr 2010 21:47:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails: Mysql::Error: Lost connection</title>
		<link>http://seocracy.com/2009/05/rails-mysqlerror-lost-connection/</link>
		<comments>http://seocracy.com/2009/05/rails-mysqlerror-lost-connection/#comments</comments>
		<pubDate>Thu, 28 May 2009 15:13:01 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[ruby/rails]]></category>
		<category><![CDATA[mysql error]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://seocracy.com/?p=302</guid>
		<description><![CDATA[One of my in development projects was getting triggering a ton of &#8220;Mysql::Error: Lost connection&#8221; errors recently, and I couldn&#8217;t figure out the root cause of it.
There are many of different reasons why this error can occur, and in my case, it was a reason that no one else has written about (that I could [...]]]></description>
			<content:encoded><![CDATA[<p>One of my in development projects was getting triggering a ton of &#8220;Mysql::Error: Lost connection&#8221; errors recently, and I couldn&#8217;t figure out the root cause of it.</p>
<p>There are many of different reasons why this error can occur, and in my case, it was a reason that no one else has written about (that I could find), so I figured I&#8217;d post up the cause of my problem (and the solution).</p>
<p>This application was on a shared development server with a few other applications. They all used the same mySQL server. One of my other applications had a corruption in a few of its tables, and whenever this application was called, it would crash the mySQL server, triggering a &#8220;Mysql::Error: Lost connection&#8221; for all my other applications connected to the mySQL server at that same time. </p>
<p>I tracked down this issue by check the mysql logs, and then I simply reloaded last nights backup of the corrupt database, and everything was fine! It just goes to show you how important it is to always perform regular backups of your databases.</p>
<p>I hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://seocracy.com/2009/05/rails-mysqlerror-lost-connection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
