I just setup Rails on Centos5. I have a remote MySQL 4.1 server.
I am able to successfully connect to MySQL with rails and it works
most of the time.
However, I get the following error every once in a while (not always
the same query):
Mysql::Error: Lost connection to MySQL server during query: SHOW
Does this happen after long periods of inactivity? Have you tried
You need to set it to something lower than whatever your mysql
connection timeout setting is.