Jump to content
MakeWebGames

Recommended Posts

Posted

Ok when i click install and go to login this error comes up

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/grandmal/public_html/class/class_db_mysql.php on line 48

FATAL ERROR: Could not connect to database on localhost (Access denied for user 'root'@'localhost' (using password: NO))

Can someone help me (not hate because im a n00b)

Thanks

Posted

Your error says it all.

Very very very basic PHP/MySQL . I dont hate you as your a n00b but this is very simple stuff which is also outlined in the install instructions.

As Redux has bugs, issues and is very restrictive then really if you cannot do simple stuff like this then you really should not try and run a game until you have learnt some.

Posted

I imagine the installer would create one - if not, it's possible there is a permission error; although if I recall correctly, the V2 mccodes did perform limited permission checking (not that that is much of a seal of approval)

Posted
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/grandmal/public_html/class/class_db_mysql.php on line 48

did you follow these google map styled directions?

Posted

Assuming you are with a web host, please consult them about this error.

You are paying them, they should assist you with any configuration of your scripts if you are an a shared hosting package.

A bit of technical info' if you want to fix it yourself:

"root" is the default mysql superuser account, most hosting companies do not allow you to connect with this user.

You should have your own mySQL username/password combination, the username would most likely be eight letter word, in your case "grandmal".

Along with that, you use your password, this would also most likely be the password you use for logging into your control panel.

Additionally, you need to create a database, this can be found under the "Databases" tab on most control panels.

After you have everything; your username, password and database name, you should enter those when the installer prompts for them.

Good luck.

 

did you follow these google map styled directions?

That file merely contains a copied mySQL class MCCodes ships with V2.x.

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