If you see the error "… To many connections…" while you are accessing your website, you can do the following ways:
1. In your mysql my must to run this:
I'm using phpMyAdmin and I executed
2. In your my.conf file (usually located in /etc) find the line that says:
And somewhere below that set
Or whatever numeric value you need.
More information here: https://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html