The error message is coming from the connect line in:
function MOpen() {
global $db_address, $db_username, $db_password, $link;
$link = mysql_connect($db_address,$db_username,$db_password);
}
"Nick Wilson" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> -
It's nothing to do with PHP. Raise your max_connections in your MySQL
configuration file...
---John Holmes...
> -Original Message-
> From: Dan Morris [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 08, 2002 4:54 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Warning:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Dan Morris declared
> Is there anyway to get rid of this message:
>
> Warning: Too many connections in xxx on line xx
Can you show the code that connects?
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE---
Is there anyway to get rid of this message:
Warning: Too many connections in xxx on line xx
line xx is a connection to a mysql database.
In PHP.ini I have:
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
mysql.
4 matches
Mail list logo