Jump to content
MakeWebGames

Recommended Posts

Posted

i have a problem with my game something to do with the mysql plz have a look at my site register the login and it just says

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

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

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

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

 

if anyone wants to have a look at it the url is http://englishmafia.justfreespace.com/login.php

Posted

Re: plz help

Or you have a seperate password/username for mysql access, or you havnt assigned a mysql account to that database if required...

Posted

Re: plz help

you can on free sites. I have done them. The database is there if hes coming up with that error. The mysql.php and the config.php has to have the username and pass of cpanel and in config the pass and user of DB. I fix this problem many times.

Posted

Re: plz help

yeah thats what Im saying. Its easy fix. Im no coder but I fixed alot of games had this problem. Im even surprised all the bashing the so called experienced coders do one here but no one had the simple answer. It is his mysql.php thats set up wrong. I even seen some games have config.php thats set wrong also. I have two games. GP has mysql.php only, Crazy Chaos has both config.php and mysql.php. Now if theres a third or second mysql.php make sure thats right too. If you need help MSN me I will give you screen shot of how to do it and where to look.

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