Warning: Mysql_connect() Too Many Connections In Mysql Error Web Pages
- Forums
- General Errors
- Warning: Mysql_connect() Too Many Connections In Mysql Error Web Pages
This Page Contains information about Warning: Mysql_connect() Too Many Connections In Mysql Error Web Pages By pili in category General Errors with 1 Replies. [2591], Last Updated: Sat May 18, 2024
pili
Fri Jun 15, 2007
1 Comments
986 Visits
can you please help me, i am getting this error, what does it mean and what do i need to do to fix it?
what happened to me, is that i was working on a script and i had a loop on it, well, my loop wasn't perfect so it kept on going to infinity. so i kept getting this error also after i ran the script.
so, if you are getting this error its because you have an endless loop in your script, you need to fix it, or else it will keep on happening.
once i fix the bug on my php script, i had to reset my server. so to do that, i have to restart my apache server. depending on what kind of operating system you have, you will have to restart you http server, in my situation i have linux so i ran this command:
/ect/init.d/httpd restart
once i restarted my server, and fixed my code, it was ok.
if it doesn't work by simple rebooting you http server, prob you will have to reboot the whole server.
i think there is an option in the httpd.conf file where you can prevent this from happening, but im not sure.
hope this helps
https://www.wallpaperama.com/forums/warning-mysql-connect-too-many-connections-in-mysql-error-web-pages-t1524.html