Neighbor Nick Posted September 23, 2008 Posted September 23, 2008 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? Quote
TCH-Thomas Posted September 23, 2008 Posted September 23, 2008 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: localhostdatabase: yourCpanelName_databaseName user: yourCpanelName_databaseUser password: mypassword Please read more in Dons post. Quote
Neighbor Nick Posted September 23, 2008 Author Posted September 23, 2008 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... Quote
stevesh Posted September 23, 2008 Posted September 23, 2008 (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 September 23, 2008 by stevesh Quote
TCH-Bruce Posted September 23, 2008 Posted September 23, 2008 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. Quote
stevesh Posted September 23, 2008 Posted September 23, 2008 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. Quote
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.