Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database Error


Jesture

Recommended Posts

Posted

I set up osCommerce for her about 4 months ago and out of the blue she hit me up with a phone call about her site now giving an error.

 

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

Unable to connect to database server!

 

Is seen when you go to her main address ( Http://smileysetc.com )

 

When I tried to login its 11 at night here now I noticed the password has been changed I am guessing that is why it no longer can connect? If so then I need to edit something I am sure and merely change that confirm or assist if possible.

 

Alittle guidance please.

Posted

yes, if the password for the database has been changed, then you need to update it in:

 

includes/configure.php

 

and also admin/includes/configure.php

 

look for this section:

 

// define our database connection
 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'mysql');
 define('DB_SERVER_PASSWORD', 'password_goes_here');
 define('DB_DATABASE', 'osCommerce');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Archived

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

×
×
  • Create New...