On Thu, Feb 11, 2010 at 6:46 PM, Insurance Squared Inc. <span dir="ltr"><<a href="mailto:gcooke@insurancesquared.com">gcooke@insurancesquared.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any sort of timeout setting in mysql? </blockquote><div><br>There are several timeout parameters for MySQL.<br><br>For example:<br><br>wait_timeout = 300<br>connect_timeout = 25<br> <br>You can display what the values are by doing:<br>
<br>mysql> show variables like '%timeout%';<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've got a big-piggie of a website database that on my desktop allows me to edit pages, but on my webserver, the edit pages function dies (page load doesn't finish, browser says 'done'). And I don't think that it's php. I think it's mysql getting bogged down somehow.<br>
</blockquote></div><br>How long does it take? Check that against what PHP has in phpinfo().<br><br>PHP can set that in various ways, for example, max_execution_time in php.ini, or set_time_limit() in the code itself.<br>-- <br>
Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>