Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server!


SassFitness

Recommended Posts

Posted

I was able to access my account Tuesday to send out newsletter, but when I tried to get in yesterday and today I received the message "Unable to connect to database server!" Please help!

Posted

@@SassFitness

 

The error tell you everything...

 

You must verify thet your db is up and running, that you can connect from cpanel / phpmyadmin, that host/username/password/db is correct and not changed.

 

You can check your configure files by cpanel or ftp.

  • 1 month later...
Posted

Can anyone help with this error?

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'xxxxxxxxxx'@'xxxxxxxxx' (using password: YES) in/home/content/30/9677030/html/onlinestore/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

Things I've verified...

Both config files have the correct username and password

I can login through MyPHPAdmin and run queries

I can login to the Admin of the onlinestore

But if I click on catalogs or try to visit the store I get the above error.

 

What am I missing?

 

I never had a problem until I changed my password in the PHPMyAdmin. Again, I can login fine..

If I try to grant permission to the user is gives me access denied as well...

Archived

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

×
×
  • Create New...