Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help setting up line 19 of database.php


jlogan

Recommended Posts

Posted

I am having some trouble setting up the line 19 of databse. The error I get is:

 

Warning: MySQL Connection Failed: Access denied for user: 'mysql@localhost' (Using password: NO) in includes/functions/database.php on line 19

Unable to connect to database server!

 

This may be a very novice problem but I can't seem to figure it out. Any help will be greatly appreciated and cheers to all the developers.

 

Joshua

Posted

Hi Joshua.

 

This is actually not an error within osCommerce.

 

The user you've setup in this line in configure.php:

  define('DB_SERVER_USERNAME', 'mysql');

 define('DB_SERVER_PASSWORD', '');

are not allowed to access the database.

 

Contact your ISP to get the valid data.

Best Regards

olby

Archived

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

×
×
  • Create New...