note 33540 added to function.mysql-pconnect

From: Date: Mon, 30 Jun 2003 07:31:39 +0000
Subject: note 33540 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-51190@lists.php.net to get a copy of this message
It seems that PHP team has made some changes to mysql_pconnect() and mysql_connect() functions in version 4.3.0. We updated PHP 4.3.0 to our production servers about a week ago and since then we've faced major difficulties with connections to our MySQL server also located on the production server. The problem is that the connection to the MySQL servers is interrupted very quickly or there is not connection at all. We found out that when using the domain of the server instead of "localhost" problems occur. So, to avoid problems, I recommend using "localhost" instead of "yourdomain.com" or whatsoever. This actually affects on both, mysql_pconnect() and mysql_connect(). ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33540 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33540&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33540&report=yes

« previous php.notes (#51190) next »