|
|
How to increase simultaneous connections in mysql - Mysql
|
Views : 547
|
|
Tagged in : Mysql
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Some time we may get error like
Warning: mysql_connect(): Too many connections in /home/user/public_html/db.php on line 1
Unable to connect to database server!
We can increase simultaneous connections in mysql upto the maximum limit.
Open /etc/my.cnf file in your terminal window
Add the below line if not exist max_connections=100
else update the number of connections
Then restart your mysql
/etc/init.d/mysqld restart |
|
By Vinoth, On - 2009-10-27 |
|
|
|