note 37665 deleted from function.mysql-pconnect by vincent
| From: | vincent@php.net | Date: | Sat, 22 Nov 2003 15:13:33 +0000 |
| Subject: | note 37665 deleted from function.mysql-pconnect by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60814@lists.php.net to get a copy of this message | ||
Note Submitter: chrisda@optushome.com.au
----
<i>Be careful using mysql_pconnect. If you are hosting on an ISP, they may frown upon you
using multiple persistant mysql connections as this consumes resources for a longer period of time.
If your script crashes, your connection can stay open for long periods of time. </i>
I thought the whole point of persistant connections was that multiple scripts could use the same
connection. There should only be one persistant connection, and even if a script crashes that
doesn't prevent other instances from using the same connection.