NetManiac

Witold Rugowski on web20 wave with Ruby on Rails

Rails and lost MySQL connection

Posted on November 28, 2006 - Filed Under RubyOnRails

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.

Popularity: 4% [?]

Hits for this post: 1898

Similar Posts

Comments

Leave a Reply