Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server...


willjoe86

Recommended Posts

Posted

After my database somehow got wiped out (not a big deal, store not actually in use yet) I tried to reinstall OScommerce. It seemed to go fine, after a few hiccups, but now I cant access either the admin or catalog. This is the error message I get when I try to access the catalog:

 

Warning: mysql_connect(): Access denied for user 'u70229444 '@'anyhost' (using password: YES) in /mnt/web_f/d38/s23/b025713e/www/catalog/includes/functions/database.php on line 19
Unable to connect to database server!

 

I dont know why its trying to use that weird host name and password - those arent the ones I provided in the install procedure.

 

I would really appreciate it if you could point me in the right direction!

Thanks!

Will Kimball

Posted

Many things could be wrong

 

Your are entering the incorrect username or password or database name

 

The SQL database does not have the proper permissions, user and password assigned to it, or the db that you are specifying is not there.

 

Use phpMyAdmin and make sure the proper setting are there.

My Contributions

 

Henry Smith

Archived

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

×
×
  • Create New...