Re: DB: persistent connections ... mysql_pconnect() problems

From: Date: Mon, 16 Dec 2002 16:25:15 +0000
Subject: Re: DB: persistent connections ... mysql_pconnect() problems
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2993@lists.php.net to get a copy of this message
On the same subject, in a scenario where the MySQL driver is used, mysql_pconnect() has received a lot of bad press regarding connection resources that don't get released, has anyone had problems in busy sites? Would a singleton be a good option? cheers, Demian Turner Peter Erickson wrote:
Im an idiot. I must have glanced right over this one. Thanks. "Alan Richmond" <arichmond@bigfoot.com> wrote in message news:PPEAKIAOBHGHBOIFNCKLOEEMDGAA.arichmond@bigfoot.com...
]Does using the pear module suffer ]from not having persistent connections? No, just add a true to the connect: $conn = DB::connect($dsn, true); Here's to page with the documentation: http://pear.php.net/manual/en/core.db.tut_connect.php HTH, Alan


« previous php.pear.general (#2993) next »