<div dir="ltr">Have you tried upping the timeout settings in your database.yml?<div><br></div><div><a href="http://stackoverflow.com/questions/5480780/how-do-i-set-the-activerecord-query-timeout-for-mysql/5482817#5482817">http://stackoverflow.com/questions/5480780/how-do-i-set-the-activerecord-query-timeout-for-mysql/5482817#5482817</a><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 4:14 PM, Vish Vishvanath <span dir="ltr"><<a href="mailto:vish.vishvanath@gmail.com" target="_blank">vish.vishvanath@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hiya,<br>
<br>
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.<br>
<span class="HOEnZb"><font color="#888888"><br>
vv<br>
</font></span><div class="im HOEnZb"><br>
On 4 Mar 2013, at 16:05, Ed James (Alt) <<a href="mailto:ed.james.spam@gmail.com">ed.james.spam@gmail.com</a>> wrote:<br>
<br>
</div><div class="im HOEnZb">> Hi all<br>
><br>
> 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.<br>

><br>
> I've removed part of the query, but it's a very straight-forward statement, with a single join. Our db is properly indexed.<br>
><br>
> Thanks in advance.<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br></div>