MySQL Errors

I’m working on deploying my app on Solaris 5.8, Apache 2.0.55,
mod_fcgid-
1.09, and mysql-4.1.15.

I am getting the following error in my log when running through
mod_fcgid:

ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query:…
The catch is that I get no errors when using WEBrick or script/console.

It took me a while to get the mysql-ruby binding working properly. I
ended
up having to use mysql-ruby-2.6 rather than 2.7, but now I know it is
working because WEBbrick and the console can connect to the db and get
data.

My question is, why would this problem only show up in the mod_fcgid
environment?

Thanks very much for your help.

Cheers,
Ryan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs