Jump to content
MakeWebGames

Recommended Posts

Posted

i am a newb coder and trying to do these codes for my game , but after uploading the scripts during registration these errors come out

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/razor/public_html/mysql.php on line 2

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

and after registration

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/razor/public_html/mysql.php on line 2

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

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/razor/public_html/register.php on line 55

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/razor/public_html/register.php on line 56

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/razor/public_html/register.php on line 70

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/razor/public_html/register.php on line 71

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/razor/public_html/register.php on line 79

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/razor/public_html/register.php on line 80

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/razor/public_html/register.php on line 81

You have signed up, enjoy the game.

> Login

and during login

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/razor/public_html/mysql.php on line 2

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

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

Access denied for user 'root'@'localhost' (using password: YES)

pls help me......

Posted

Re: Help needed

have you updated the user stats or users tables on your phpmyadmin?

i did this and had to update my register.php according to my new stats.

what mods are you adding or how many are you trying to add?

Posted

Re: Help needed

 

how and what do i need to do ? pls tell me!

If you can read...

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES)

meaning... your DB password does not match the one in config file

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...