To many connections error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm working with my host to resolve why I am getting these error messages, but in the meantime, I am getting this message on the website:

Warning: mysql_connect(): Too many connections in /path/number/user/ code/connect.php on line 10 Sorry: Could not connect to database. Please contact the webmaster at murphy63@xxxxxxxx

Where my connection code is:

	$con = mysql_connect($host, $dbuser, $pw)
or die("Sorry: Could not connect to database. Please contact the webmaster at murphy63@xxxxxxxx");
	@mysql_select_db($db,$con);

The questions is, since I don't have error reporting turned on, why am I getting an error message that includes the complete path to my connect script.... something I would like to not be telling the general public? Is there a way to suppress that?

--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux