nyx
24 Sep 2010, 09:01 AM
I'm looking for a method for killing a specific MySQL process with PHP.
The application allows users to potentially create very large queries to the database and I need to provide a method for them to kill / cancel the query if they wish.
I've seen a couple of examples of scripts which loop through the process list and kills processes which have been running for longer than a specified period, but I'm looking for something more specific.
Thanks in advance
The application allows users to potentially create very large queries to the database and I need to provide a method for them to kill / cancel the query if they wish.
I've seen a couple of examples of scripts which loop through the process list and kills processes which have been running for longer than a specified period, but I'm looking for something more specific.
Thanks in advance