My RaQ4 is throwing the "Too many connections" error. Now, it is getting hit pretty hard by traffic, but I wonder if my coding might be exacerbating this error.

Due to my relatively lazy structure of includes and functions, my pages might have half a dozen or so of these (most are to the same database):

$connection = mysql_connect($db_host, $db_username, $db_password);
mysql_select_db($db_name, $connection);

Is that creating half a dozen connections, even though it's just one web user?

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to