do not use mysql_pconnect
mysql_pconnect leaves stray mysql connexions lying around and we do our own connexion management anyways
This commit is contained in:
parent
4c4cd25bce
commit
c9c381f406
|
@ -91,7 +91,7 @@ class DB_Sql {
|
|||
/* establish connection, select database */
|
||||
if ( 0 == $this->Link_ID ) {
|
||||
|
||||
$this->Link_ID=mysql_pconnect($Host, $User, $Password);
|
||||
$this->Link_ID=mysql_connect($Host, $User, $Password);
|
||||
if (!$this->Link_ID) {
|
||||
$this->halt("pconnect($Host, $User, \$Password) failed.");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue