- Forums
- MySQL
- Server Logs Say Too Many Connections How To Fix Errors
this page will show you how you can fix the problem if you are getting Too many connections error on mysql/php server [914], Last Updated: Sat May 18, 2024
wallpaperama
Mon Jan 05, 2009
1 Comments
626 Visits
today i was working on my wallpaper website and lately i've noticed that i have been getting alot of people on my site and while i was in the admin panel i kept getting an error saying:
Too many connections
so to fix this, this is what i did... i logged in to my dedicated server with ssh and loged in as root in the shell and send this command:
edit the my.cnf file to chage max_connections:
nano /etc/my.cnf
then add this line or change it to a higher number if you already have this variable: (i will increase it by 1000, the default its 100 for mysql server)
max_connections = 1000
save the changes and then restart your server:
/etc/init.d/mysqld restart
i will monitor to see how it goes
https://www.wallpaperama.com/forums/too-many-connections-t6943.html