note 47858 added to function.mysqli-kill
| From: | johnjawed at gmail dot com | Date: | Thu, 02 Dec 2004 21:34:19 +0000 |
| Subject: | note 47858 added to function.mysqli-kill | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81299@lists.php.net to get a copy of this message | ||
Be careful using this before mysqli::close.
Killing the thread before actually closing the connection will leave the connection open! And
depending on your max_connections and max_user_connections (by default the same), this could result
in a "Max connections reached for **** user" message.
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-kill.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47858
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47858&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47858&report=yes
Search -- http://master.php.net/manage/user-notes.php