This topic is locked

Too Many Connections

5/19/2009 2:08:18 PM
PHPRunner General questions
author

I started getting this error message [below] occasionally when I login to my database but I find it confusing. It says that the error is that they are too many connections but the solutions do not seem to go with the "too many connections" error.
I looked at the php.ini file and it looks fine but I cannot figure out where the " libmysql.dll" is or where in the "C:WindowsSystem32 " directory I should copy it to if I can find it.
If these files where not in the right place and correct, it seems to me that I would always get this error message.
"Technical information

Error type 2

Error description mysql_connect() [function.mysql-connect]: Too many connections

URL www.fortheloveoflabradors.com/labradors/pedigrees_list.php?a=return

Error file /home/whitney38/domains/fortheloveoflabradors.com/webapps/ROOT/labradors/include/dbconnection.php

Error line 9

SQL query

Solution PHP needs to be set up to use it with MySQL.

To do that please open php.ini file in your C:Windows directory with a text editor, find the string
;extension=php_mysql.dll
and remove a semicolon from the beginning.

Then find the string beginning with
;extension_dir =
and make sure that this points to folder within your PHP installation where php_mysql.dll file resides. Usually it is "c:phpextensions"

And at last copy libmysql.dll from your MySQL installation into the C:WindowsSystem32 directory.
Thanks for your help!!
"

Sergey Kornilov admin 5/19/2009

This error message means there are too many connections to MySQL database. There is nothing you can do to fix this on your side.
Most likely your web hosting provider oversells having to many websites on the server. Show this error message to your web hosting support team.