Aaron724 Posted June 6, 2008 Share Posted June 6, 2008 Hi, I am making my first game ever. I have got some good mods and done everything now just uploading it, When uploading login.php and others needed... class_db_mysql i get a problem when viewing login.php and every other page.... Problem posted below... Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'agumon'@'localhost' (using password: YES) in /home/maryjane/public_html/class_db_mysql.php on line 46 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'agumon'@'localhost' (using password: YES)) PLEASE HELP ME! Email me or post here please! [email protected] Quote Link to comment Share on other sites More sharing options...
Akash Posted June 8, 2008 Share Posted June 8, 2008 Re: agumon @ localhost That's what the original table was set to. I'm assuming you're using phpMyAdmin. All you do is go to cPanel and onto MySQL databases. Then you create a new database e.g mccodes. The name of the database will then be something_mccodes, which you can see on that screen. You then create a new user like aaron. The user will be something_aaron. You create a password for that user, make sure you remember it :-P. Add the user to the database then run the installer, entering all the db details, username, password etc. 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.