Lost connection to MySQL server during query problem


For a while I got this error message : “Lost connection to MySQL server during query” which was pretty irritating as it randomly works or not work. Apparently it’s an issue with the MySQL adapter in Ruby and there are a couple of fixes for it.

Some explanation from the Rails wiki

This post from Roderick explains it well for Windows and it worked pretty well for me.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s