Forum: Ruby on Rails remote database connection disconnecting after certain amoun

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
525128e48ca2b4c7fb6176ea166fccfd?d=identicon&s=25 Eric G. (gotskill10)
on 2007-06-11 08:32
I have a server running Merb connecting to a remote database using
"establish_connection."

When I call many methods in fast succession, I eventually get this Mysql
error:

Mysql::Error: Lost connection to MySQL server during query.

I have the ruby mysql bindings installed, as well.

Im thinking that its a problem with the database configurations. But its
hard to say its a timeout issue because this error will happen within
the first hour of my Merb app establishing the connection.

Any thoughts?
This topic is locked and can not be replied to.