Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install On Localhost Problem


C64

Recommended Posts

Posted

I have installed osCommerce on a local PC but when I try to access it I have this error massage

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\os\includes\functions\database.php on line 19

Unable to connect to database server!

 

I belive there is a simple solution for this but I'm beginner and I would like to try, test and play with osCommerce on my local PC before going online with my store.

 

Can someone please help me. :'(

 

Hi to all community :thumbsup:

Posted

Check in the 2 configure files - includes/configure.php and admin/includes/configure.php - and make sure you have set the username and password at the bottom of those 2 files. The username is usually "root" and the password is whatever you set it to be.

If you haven't set a password, access phpmyadmin - I am assuming you have that - click on privileges and the edit icon next to the present user "root" and set the password.

Once you have clicked on privileges, you even have the option to set a new user, if you don't want to use root.

Archived

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

×
×
  • Create New...