Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URGENT HELP PLEASE!


socal_kl

Recommended Posts

Posted

Hi, I've just changed hosting for my e-commerce website. I uploaded all the files and imported the MySQL database through PHPMyAdmins import section. All files went in properly. Only problem is that the website is not showing up. When I go to it I get the following error.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'UserName'@'localhost' (using password: YES) in /home/directoryname/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Any help is greatly appreciated. Thanks

Weather you think you can, or you think you can't. Your right.

Posted
Hi, I've just changed hosting for my e-commerce website. I uploaded all the files and imported the MySQL database through PHPMyAdmins import section. All files went in properly. Only problem is that the website is not showing up. When I go to it I get the following error.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'UserName'@'localhost' (using password: YES) in /home/directoryname/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Any help is greatly appreciated. Thanks

http://www.oscommerce.com/forums/index.php?sho...=193738&hl=

Posted

Did you check password and user ID for the database in includes/configure.php? Also the DB name and DB address? It should correspond to whatever you set up in the database admin on the server. If you move to another host, most likely something will be different. For example you DB address can be something other then Localhost. Or names can have different prefixes. Also check absolute server file system path.

Posted

It doesn't look like you configured your new configure.php file - Is there a prefix on the database? A lot of times, especially with shared hosting, mySQL DBs often come with a predefined prefix (example being if I create the database 'Test' in my cPanel, the actual database created for me is 'gotalkab_Test' ) Check that, it may be an issue.

 

What was your database's name before you imported it to PHPMyAdmin?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...