Jump to content
MakeWebGames

Warning: mysql_connect() [function.mysql-connect]: Too many connections in .....


-CrAzY-

Recommended Posts

I Need Help Urgently, My Game Was Working Fine, And Then This Comes Up:

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/imgame/public_html/mysql.php on line 2

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/imgame/public_html/mysql.php on line 3

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/imgame/public_html/index.php on line 30

Too many connections

 

When I Log In And Also On The Register Page

But Not On Log In Page

Please Help!, Thanks!

Help Will Be Much Appreciated!

Link to comment
Share on other sites

Re: Warning: mysql_connect() [function.mysql-connect]: Too many connections in .....

this is how i would do it, Change ur Mysql:

 

<?

$c=mysql_connect('localhost','CPANEL USERNAME','CPANEL PASSWORD') or die(mysql_error());
mysql_select_db('GAME DATABASE',$c);

?>

:x

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...