How to fix MySQL Too Many Connections error
1- Open your MySql client, e.g. SQLyog.
2- Run the following command to see how many concurrent connections is MySql server currently allowing:SHOW VARIABLES LIKE "max_connections";
3- Run the following command to increase the number of concurrent connections:SET GLOBAL max_connections = 1000;
Check MySQl official page for more details.
.

