Jump to content

Recommended Posts

Posted

Access denied for user 'NeighborNick'@'localhost' (using password: YES)

 

Every time I search for this I get the same answer that my user-name or password is wrong. However I have checked them over multiple times, I created a user name with phpmyadmin and now i cannot install oscommerce at all. I am kinda new to this concept so can somebody please help me out?

Posted

Welcome to the forum, Neighbor Nick. :)

 

Assuming you are hosted by TCH, make sure you enter your database info in the config file something like this (I´m not using oscommerce so it might look a bit different).

 

host: localhost

database: yourCpanelName_databaseName

user: yourCpanelName_databaseUser

password: mypassword

 

Please read more in Dons post.

Posted

I am not using cpanal though. I get to the page where you need to input all you database info. Then I get the error, here is what I am inputing...

 

Database Server:

localhost

Username:

NeighborNick

 

Password:

XXXXXX

Database Name:

neighbornick

 

Please help me...

Posted (edited)

What Thomas meant is that TCH appends your CPanel (domain) user name to the name of your database and your database user name.

 

So, if you create a db user name of 'smith' and your TCH domain's (CPanel) user name is 'jones', then you'd need to enter jones_smith as the db user name in the osCommerce config file.

 

 

If you name the database 'wilson', then the database name in the osCommerce config file would be jones_wilson

Edited by stevesh
Posted

Welcome to the forums Neighbor Nick :)

 

If you are hosted here as Thomas and Steve say you must preface your database and user name with your cPanel name. That's how the server keeps track that the files belong to your account and not some other account on the server.

 

If as Steve points out if your account is jones and my domain is bob and we both create a database called database your database name would be jones_database and mine would be bob_database. The same goes for user names. There could be multiple so to keep them straight they are prefaced by the account name. For example yours would be jones_username and mine would be bob_username.

 

Hope that helps.

Posted

And as long as I'm here, two suggestions:

 

You'll be a lot happier with Zencart than with osCommerce for a lot of reasons, especially Zencart's support forum.

 

I always strongly suggest you install programs manually, rather than through Fantastico. You learn a lot more about the program's folder and file structure and configuration that way, and also learn how to use FTP.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...