note 40671 added to function.mysql-pconnect

From: Date: Thu, 11 Mar 2004 01:18:36 +0000
Subject: note 40671 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-66600@lists.php.net to get a copy of this message
Be very careful when using persistent connections on a machine running multiple mysql servers. You must specify the correct socket path, otherwise PHP will reuse connections irregardless of what server they are connected to. That is, it will see an open connection with matching parameters and use it, even if the connection is actually for a different server. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40671 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40671&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40671&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66600) next »