I’m trying to upgrade our production server to rails 2. I’ve already
done this on my dev machine (osx) and it worked fine. But now, with
everything at the same version, but running in production mode, the
production machine - a CentOS5 box - is getting loads of:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query
i"ve looked around but not found any valid reason why this should be
happening. the mysql is version 5.0.22. Ruby 1.8.6 rails 2.0.2.
Without solving this I guess we are going back to Rails 1.2.6, but the
real problem is that it is causing my boss and team to question the
entire stability of Rails!
I’ve just set the server to run in development mode and it works a
treat!!! What is up with that?