RE: [PHP] Warning: Too many connections in xxx on line xx
| From: | John Holmes | Date: | Sat, 08 Jun 2002 16:12:29 +0000 |
| Subject: | RE: [PHP] Warning: Too many connections in xxx on line xx | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101285@lists.php.net to get a copy of this message | ||
It's nothing to do with PHP. Raise your max_connections in your MySQL
configuration file...
---John Holmes...
> -----Original Message-----
> From: Dan Morris [mailto:dan@thatsilly.com]
> Sent: Saturday, June 08, 2002 4:54 AM
> To: php-general@lists.php.net
> 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