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


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » MySQL / MariaDB

mysql_connect(): Too many connections in /path/to/file.php on line 123 Unable to connect to sql serverLast Modified: Jan 29, 2006, 11:16 am
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

 
Related Helpfiles
How to Optimize MySQL
How to track MySQL Load

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST