in reply to Re^4: ERROR on CGI script:The timeout specified has expired
in thread ERROR on CGI script:The timeout specified has expired

7 Mins is one hell of a query time. A few thoughts occur MySQL in particualr is faster if smaller queries are agregated than it is if asked to make complex JOINs (at least it was 5 years ago when last I used it).
  • Comment on Re^5: ERROR on CGI script:The timeout specified has expired