If you get the error message "connect to mysql server 127.0.0.1: Too many connections" in a log file, e.g. the mail.log file, then the max. number of mysql database connections on your server is reached. To increase the max. number of simultaneous connections, edit the MySQL my.cnf file:
and add or change the lines for MySQL max_connections and max_user_connections in the [mysqld] section of my.cnf file:
[mysqld] ...... max_connections = 500 max_user_connections = 500 .......