Aryk Grosz
2007-Jun-11 06:32 UTC
remote database connection disconnecting after certain amoun
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? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Possibly Parallel Threads
- remote database ActiveRecord model
- S3 throwing invalid argument using AWS S3 API
- Helps!!!!! Rails database connection guru needed!!!!!!!
- return ONLY total_hits without querying from real database
- Rails 3 Multiple database with Joins conditions throws exception