MySQL Forums
Forum List  »  PHP

Help with mysql connection
Posted by: Kayode Olutayo
Date: July 04, 2005 06:31AM

Hi I have a php script connect to mysql db, it works fine, but there are times it just comes up with a "too many connection" error.
How can I resolve this?
I have posted my connection script:
$db = mysql_connect("host", "username", "password") or Die("I cannot connect because: " . mysql_error());

Options: ReplyQuote


Subject
Written By
Posted
Help with mysql connection
July 04, 2005 06:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.