Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | DalÅ¡Ã |
mysqli_kill
(PHP 5)
mysqli_kill(no version information, might be only in CVS)
mysqli->kill() -- Asks the server to kill a MySQL threadPopis
Procedural style:
bool mysqli_kill ( mysqli link, int processid )Object oriented style (method)
class mysqli {bool kill ( int processid )
}
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 mysqli_thread_id() function.
To stop a running query you should use the SQL command KILL QUERY processid.
Seznam parametrů
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
PÅ™Ãklady
PÅ™Ãklad 2. Procedural style
|
Výše uvedený pÅ™Ãklad vypÃÅ¡e:
Error: MySQL server has gone away |
PÅ™edcházejÃcà | Domů | DalÅ¡Ã |
mysqli_insert_id | Nahoru |