Information and support for products of

 header image 2

Too many mySQL connections

June 26th, 2012 · No Comments

If you have the situation in mySQL where there is the possibility of large number of connections, you can test for that specific error and then redirect to an different page :

<?php $link = mysql_connect("localhost", "mysql_user",
if (mysql_errno() == 1203) {
// 1203 == ER_TOO_MANY_USER_CONNECTIONS (mysqld_error.h)

Tags: SQL databases

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.