<div dir="ltr">If it is timing out on idle connections, then setting:<div><br></div><div style>production:</div><div style>  ...</div><div style>  reconnect: true</div><div style><br></div><div style>in database.yml should stop the errors.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 4 March 2013 16:11, Tom Taylor <span dir="ltr"><<a href="mailto:tom@tomtaylor.co.uk" target="_blank">tom@tomtaylor.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">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>
> I'm wondering if anyone has seen this issue before. Any help would be greatly appreciated.<br>
<br>
<br>
</div>Do you get the problem after periods of no traffic on the application? The MySQL server could be configured to timeout idle connections.<br>
_______________________________________________<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>
</blockquote></div><br>-- <br>Random Musing - <a href="http://www.frafferz.com/" target="_blank">http://www.frafferz.com/</a><br>Geek Blog - <a href="http://geoffyoungs.github.com/" target="_blank">http://geoffyoungs.github.com/</a>
</div></div>