Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin area can't access database...


Guest

Recommended Posts

Posted

I don't know what is going on, but my store works fine. However, if I try to log in to the admin area, I get this error:

 

Warning: mysql_connect(): Access denied for user 'mysql'@'xxx' (using password: NO) in /var/www/html/th/xxx/catalog/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

(I put the xxx to remove my site info).

 

I know it should be using a password to log in to the MySQL database, but don't know where I need to fix it to tell it to use the password.

 

What did I do wrong? :(

Posted

Nevermind, just found the problem. Must have accidentally overwrriten my admin/includes/configure.php file with the default instead of the one with my DB values.

Archived

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

×
×
  • Create New...