By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

How to timeout queries that are taking to long

P: n/a
Is there a way with php/mysql to have a set timeout period for
queries. My hosting provider is complaining about to many processes
when my pages connect to my db. Sometimes they take a few minutes to
complete and I want to just stop anything that is taking more than
say
30 secs. Is there a way to do this. The php execution time is set to
30 secs. I thought that would do it but isn't. The mysql server is on
another system from the php server also if that helps.

Feb 23 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.