Re: MySQL Query Timeout program in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just put the time out in your PHP.INI file

max_execution_time = 30     ; Maximum execution time of each script, in
seconds

2008/10/16 Piyush Kumar <piykumar@xxxxxxxxx>

> 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.html
>
>
> --
> Thanks & Regards,
> -Piyush
> Mo.: 091-9910904233
> Mail: piykumar@xxxxxxxxx
> Web: http://piyush.me/
>
> -In a world without fences, limits, boundaries and walls, Who needs
> Windows and Gates?
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
J.A. van Zanen

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux