Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Unable to connect to database server!


Recommended Posts



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.

Link to comment
Share on other sites

  • 1 month later...

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...

Link to comment
Share on other sites


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

  • Create New...