Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Can I Get Database Connected At Initial Setup


dnigip_c

Recommended Posts

I'm doing the initial osCommmerce setup , after entering following for the database (which I've created one locally called "tradedirect" using phpMyAdmin under user name "root" with no password)

 

 

New Installation

 

osCommerce Configuration

 

Database Server: localhost

 

Username: root

 

Password:

 

Database Name: tradedirect

 

Persistent Connections:

 

Session Storage: Files Database

 

When the osCommerce try to make a connection, it came back with the following :

 

 

 

A test connection made to the database was NOT successful.

 

The error message returned is:

 

Access denied for user 'root'@'localhost' (using password: NO)

 

Please click on the Back button below to review your database server settings.

 

If you require help with your database server settings, please consult your hosting company.

 

 

CAN ANYONE TELL ME WHAT'S WRONG ?

Link to comment
Share on other sites

1) Always use a database prefix, even if you only set up the database for this one purpose. It takes insignificant effort, and in the long run saves you a great deal of hassle (even if it turns out to have nothing to do with your current problem).

 

2) Always use a password on any database you use. It looks to me as if it is trying to literally use the password "NO", instead of not using any password.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...