[Ruby] Active Record looses connection to mySQL
Aaron Patterson
aaron.patterson at gmail.com
Fri May 11 18:46:40 PDT 2007
On 5/11/07, Daevid Vincent <daevid at daevid.com> wrote:
>
> It seems that after some amount of time
> (not really sure the duration, more than an hour, less than a day),
> my service just shits the bed because it looses connection to mySQL.
> mySQL mind you is perfectly happy and hasn't done anything wrong,
> and all my PHP pages work fantastic.
>From your logs, it looks as if its lost a connection during the query. As
if there is something wrong with the query itself is my guess. Have you
tried looking at your mysql logs? Also, have you tried executing the query
from the mysql client?
--
Aaron Patterson
http://tenderlovemaking.com/
More information about the Ruby
mailing list