Jump to content

[Help] Installing mccodes v2


Recommended Posts

I just got a quick question. Each time I run the McCodes installer I fill out the information and run it. I get this error;

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Private'@'localhost' (using password: YES) in /www/vndv.com/w/o/r/worldofsamurai/htdocs/class/class_db_mysql.php on line 46

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

I'm positive its related to the information i enter at the database config section, but I've tried a load of things.

I do have a database created and a user created.

Username Database Name

worldofsamurai_theneedle worldofsamurai_database1

These are just test so I can figure this out, but that exactly should I fill out to fix this problem?



Database Name:

Your help is greatly appreciated.

TheNeedle :-D

Link to comment
Share on other sites

Re: [Help] Installing mccodes v2


Go to config.php in file manager, then where it says

'username' => 'Username here',

'password' => 'DB password here',

'database' => 'database name here',

And fill it our with the correct details...

so, tell me if this looks right

with made up acc and pass

username = worldofsamurai_adm

password = admin

database = worldofsamurai_mccodes

Considering mccodes is my database and adm is my user attached to it.


IF that is the correct way to do it then there must be something else that causes my error.

Can anyone verify if that's correct please and thankyou

Link to comment
Share on other sites

Re: [Help] Installing mccodes v2

Well if this is your details here as you posted before

Username Database Name

worldofsamurai_theneedle worldofsamurai_database1

Then it would be like this:

'username' => 'worldofsamurai_theneedle',

'password' => 'admin',

'database' => 'worldofsamurai_database1',

The password that you wrote "admin", well is that the password you chose when you made your Database User? Because the password your meant to use is the password you used to make your DB user???

Link to comment
Share on other sites

Re: [Help] Installing mccodes v2

Danger boy isin't online, I could use anyones help at this point.

I'm not quite sure if its what I enter as the information is correct, but, from what I understand I think it is.

These are the exact details I enter:



databse: worldofsamurai_mccodes

TheNeedle is assigned to the mccodes database and has all privileges available.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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