note 37665 added to function.mysql-pconnect

From: Date: Sat, 22 Nov 2003 06:25:37 +0000
Subject: note 37665 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-60807@lists.php.net to get a copy of this message
<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. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37665 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37665&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37665&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60807) next »