Re: MySQL Query Timeout program in PHP
| From: | Chris | Date: | Thu, 16 Oct 2008 02:05:52 +0000 |
| Subject: | Re: MySQL Query Timeout program in PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45527@lists.php.net to get a copy of this message | ||
Piyush Kumar wrote:
I'm using http://myclient.polarlava.com/ as web query interface for mysql server Now I want to add "Query Timeout" functionality to it For that I need to get the PID for last ran mysql query and then using kill PID - I can kill the process on MySQL server Please explain how to do that in PHP Thanks! Similar to what described @ http://bytes.com/forum/thread156058.htmlLearn some php and convert the perl script? What area are you having issues with exactly? -- Postgresql & php tutorials http://www.designmagick.com/