Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: mysqld connection error in Directadmin  (Read 2829 times)

0 Members and 1 Guest are viewing this topic.

rohitj

  • Guest
mysqld connection error in Directadmin
« on: November 30, 2013, 02:12:06 pm »
mysqld connection error in Directadmin

Website showing below error message in domain.

mysql_connect(): Too many connections in /path/to/file.php on line 123 Unable to connect to sql server


Mysqld has a limit to the number of connections that it will take at one time.

You can tell mysqld to increase the limit by creating an /etc/my.cnf file, adding an option, then restarting mysqld.

The option is:
[mysqld]
max_connections=500


 ;)