Calum Posted August 20, 2011 Share Posted August 20, 2011 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 Quote Link to comment Share on other sites More sharing options...
Anonymous Posted August 20, 2011 Share Posted August 20, 2011 Going by what I've been able to learn from prior versions - modifying the values in config.php would solve this Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted August 20, 2011 Share Posted August 20, 2011 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. Quote Link to comment Share on other sites More sharing options...
Calum Posted August 20, 2011 Author Share Posted August 20, 2011 i know its simple stuff but i cant find config.php Quote Link to comment Share on other sites More sharing options...
Anonymous Posted August 20, 2011 Share Posted August 20, 2011 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) Quote Link to comment Share on other sites More sharing options...
bineye Posted August 20, 2011 Share Posted August 20, 2011 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? Quote Link to comment Share on other sites More sharing options...
Spudinski Posted August 21, 2011 Share Posted August 21, 2011 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. 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.