Re: Stupid question
| From: | Greg Donald | Date: | Sun, 05 Dec 2004 04:37:54 +0000 |
| Subject: | Re: Stupid question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203510@lists.php.net to get a copy of this message | ||
On Sun, 5 Dec 2004 02:48:09 +0200, Phpu <phpu@go.ro> wrote:
> If i have a php and mysql website...how many connections support mysql at one time ?
The number of connections allowed is controlled by the max_connections
system variable. Its default value is 100. If you need to support more
connections, you should restart mysqld with a larger value for this
variable.
You can increase this value in the MySQL server config file (mine is
in /etc/mysql/my.cnf) using this syntax:
[mysqld]
set-variable = max_connections=200
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/