Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server!


joestine

Recommended Posts

I searched this error and found something similar, but my problem was, is that my store was working fine then a customer called and told me that it wasnt and this is the error that I get when I try to open my store or go into my store config.

 

Warning: mysql_pconnect(): Access denied for user: 'downp32@localhost' (Using password: YES) in /home/downp32/public_html/catalog/includes/functions/database.php on line 17

Unable to connect to database server!

 

website is www.downpc.com/catalog

 

I checked the settings which I havent changed, so I wam just wondering what could have caused this? Any ideas would be greatly appreciated. Thanks in advance, Joe

Link to comment
Share on other sites

Whether you changed anything or not the mysql server is rejecting either your user name or password for accessing mysql. If your hosting company applied an upgrade of some sort then this may have reset your mysql password, so go to your web hosting control panel, and look for the mysql 'change password' link, and change it to what you have in your config files in osCommerce. Then try to access your site.

 

If your hosting company upgraded from one version of an older Red Hat operating system to Red Hat Enterprise Linux then the 'localhost' setting for the database will have changed to '127.0.0.1'

 

Vger

Link to comment
Share on other sites

Fast Reply button didnt post? Hmmm anyways, I remade the user with the same password in the Configure.php and deleted the first store and recreated that as well. Added a wildcard host of 127.0.0.1 just in case. Thank you for the fast reply and if you have any other suggestions aside from reinstalling the store (man I dont want to have to do that again) I would be so thankful! Thanks again, Joe

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...