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: Too many connections in xxx on line xx
> 
> 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.max_persistent = -1
> 
> ; Maximum number of links (persistent + non-persistent).  -1 means no
> limit.
> mysql.max_links = -1
> 
> Can anyone suggest what I can do to get rid of this error? I am
running on
> a
> Dell PowerEdge 350 with the max of 1GB of memory running RH7.2, php
4.1.1,
> and mysql 3.23.49a.
> 
> Thanks.
> 
> Dan
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to