I\'m experiencing a few errors on a rails app, along the lines of:
ActiveRecord::StatementInvalid: Mysql::Error: Lost connection to MySQL server during query: SE
From the Rails 2.3 release notes (emphasis mine):
4.8 Reconnecting MySQL Connections
MySQL supports a reconnect flag in its connections – if set to true, then the client will try reconnecting to the server before giving up in case of a lost connection. You can now set
reconnect = true
for your MySQL connections in database.yml to get this behavior from a Rails application. The default is false, so the behavior of existing applications doesn’t change.