Rails and lost MySQL connection

Recently on my machine used for developing Run-N-Share I have experienced a lot of Rails/MySQL errors (like: in `write': Lost connection to MySQL server during query). MySQL server was not overloaded and there was no network outage. It turns, that Rails works much better (and faster) with its own MySQL bindings. So another, must have point when setting new application is to check if mysql gem is installed (gem install mysql). Saves a lot of troubles.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.