To many connections error message
| From: | Kevin Murphy | Date: | Tue, 23 Jan 2007 19:57:47 +0000 |
| Subject: | To many connections error message | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-247644@lists.php.net to get a copy of this message | ||
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@wncc.edu
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@wncc.edu");
@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