Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: Access denied for user


WickedCoolers

Recommended Posts

I just tried to look at my site and also to access my Admin section and got the following error:

 

Warning: Access denied for user: '*************'(Using password: YES) in /home/********/public_html/catalog/includes/functions/database.php on line 19

 

Warning: MySQL Connection Failed: Access denied for user: '*************' (Using password: YES) in /home/********/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

My site has been working for months and now this strange problem, can anyone help resolve :-(

The hardest thing in life is watching someone you love, love someone else.

Link to comment
Share on other sites

I was getting the same error the other day. Try checking the following files and change your "if (USE_PCONNECT == 'true')" value to false in them all.

 

catalog/includes/configure.php

catalog/includes/functions/database.php

catalog/admin/includes/configure.php

catalog/includes/admin/database.php

 

This one stumped me for a couple days and even after initially changing the value it took a couple hours to free up some MYSQL spaces. Since changing the above my site has been running ok for 3 days now.

 

I think my problem was that some of these files had a false value while some had true. Guess it got confused.

 

Cheers

Adam

Link to comment
Share on other sites

Ooops.. Obviously that last file was "catalog/admin/includes/database.php" and not "catalog/includes/admin/database.php"

 

Let us know how you go and whether this error comes back.

 

Cheers

 

Badadz

Link to comment
Share on other sites

Check the permissions on the culprit file you may have changed the permission via "ftp software" I did this by accident once and it fixed it..

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...