note 34742 added to function.mysql-pconnect

From: Date: Tue, 05 Aug 2003 16:41:06 +0000
Subject: note 34742 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-53437@lists.php.net to get a copy of this message
in response to uthayakutty76 at yahoo dot com's 30-Jun-2003 12:31 post: ----------------------------------------------------------- ...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..... ----------------------------------------------------------- try setting the wait_timeout variable in my.cnf for mysql very high so the connections aren't ever idle for that amount of time. ridiculous really, but it works for localhost or remote database server where as the localhost solution only works if the database is local i think. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34742 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34742&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34742&report=yes

« previous php.notes (#53437) next »