[LRUG] MySql connection problems

Alexander Hockey-Sweeney alexsween at gmail.com
Mon Mar 4 08:17:46 PST 2013


Have you tried upping the timeout settings in your database.yml?

http://stackoverflow.com/questions/5480780/how-do-i-set-the-activerecord-query-timeout-for-mysql/5482817#5482817







On Mon, Mar 4, 2013 at 4:14 PM, Vish Vishvanath
<vish.vishvanath at gmail.com>wrote:

> Hiya,
>
> Slightly left-field, but I've seen this happen when there's a network
> issue such as an IP conflict, and the DB server drops out.
>
> vv
>
> On 4 Mar 2013, at 16:05, Ed James (Alt) <ed.james.spam at gmail.com> wrote:
>
> > Hi all
> >
> > I'm wondering if anyone has seen this issue before. Any help would be
> greatly appreciated. There are a few threads on Stack Overflow, but most of
> them are marked as duplicates of the supposedly solved thread, which just
> points to the MySql docs.
> >
> > I've removed part of the query, but it's a very straight-forward
> statement, with a single join. Our db is properly indexed.
> >
> > Thanks in advance.
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20130304/0512fd20/attachment-0003.html>


More information about the Chat mailing list