[Ruby] Active Record looses connection to mySQL
Ryan Davis
ryand-ruby at zenspider.com
Fri May 11 20:23:17 PDT 2007
On May 11, 2007, at 18:18 , Daevid Vincent 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.
>
> If I restart my ruby application, it runs perfect... until AR times
> out again.
> *sigh*
>
> It's extremely frustrating.
> Anyone know anything about this?
> Is it even a known issue that is to be addressed?
> Is there a work-around/patch?
I'd put a dollar down that you're _using_ the mysql driver that comes
with rails, not the binary one.
More information about the Ruby
mailing list