Undergroundcity Posted July 4, 2008 Share Posted July 4, 2008 I am kind of new to this, I am making a text fighting rpg. I made the login & register page, but at the top of the register page it says: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /www.mywebhost.com/////////mygame/htdocs/mysql.php on line 2 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /www/mywebhost.com/u/n/d/e/r/g/r/o/mygame/htdocs/mysql.php on line 3 Im not sure if there is a problem with the Mysql but I think its fine.... Any help will be apprechited. Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted July 4, 2008 Share Posted July 4, 2008 Re: Little Help Have you created the database & created a user? to match your mysql information. Quote Link to comment Share on other sites More sharing options...
-Matt- Posted July 4, 2008 Share Posted July 4, 2008 Re: Little Help Not conected to a database. Quote Link to comment Share on other sites More sharing options...
-Matt- Posted July 4, 2008 Share Posted July 4, 2008 Re: Little Help beat me to it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.