Function.mysqli-kill
Aus PHP-Wiki
Haftpflichtversicherung Vergleichen Online - Vergleich und Autoversicherung, Haftpflichtversicherung Vergleichen Online - Vergleich . Finden Sie Ihren persönlichen Strom-Tarif! Stromtarife Vergleichen Online
mysqli_kill
(PHP 5)
mysqli_kill(no version information, might be only in CVS)
mysqli->kill -- Asks the server to kill a MySQL threadInhaltsverzeichnis |
Description
Procedural style:
bool mysqli_kill ( object link, int processid)</BR >
Object oriented style (method)
class mysqli {</BR >bool kill ( int processid)
</BR >}
This function is used to ask the server to kill a MySQL thread specified by the processid parameter. This value must be retrieved by calling the function.mysqli-thread-id function.
Anmerkung: To stop a running query you should use the SQL command KILL QUERY processid.
Example
Beispiel 1. Object oriented style
|
Beispiel 2. Procedural style
|
The above examples would produce the following output:
Error: MySQL server has gone away |