- Forums
- MySQL
- How Can I Fix This Error: Mysql Warning: Too Many Connections
getting an error on mysql database which i am querying with php and not it says there are too many connection, how can i fix it please [900], Last Updated: Sat May 18, 2024
justin
Fri Jul 04, 2008
2 Comments
989 Visits
for some reason im getting this error and i dont know what to do
i just moved my site to a dedicated server i thot it was going to be better but if this keeps up like this my wallpaper website will keep crashing
help, how can i stop this error from coming back again
UPDATE
ok i found the answer to this. i have red hat fedora core server so i logged in as root and send these commands:
Edit my.cnf file with your favorite editor, im using nano you can use vi if you prefer
nano /etc/my.cnf
now add this line under [mysqld] section
set-variable=max_connections=250
save the changes and then restart mysqld server:
/etc/init.d/mysqld restart
Done