Jump to content

Recommended Posts

Posted

Please help I am a newbie ... I almost finished installing the OScommerce shopping cart .... except for the step that ask for the database server ... I get error message :

New Install

 

Step 2: osCommerce Configuration

 

A test connection made to the database was NOT successful.

 

The error message returned is:

 

Access denied for user: 'antarxc@209.51.142.186' (Using password: YES)

 

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

 

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

 

is there a special configuration for mysql server ..... :huh:

Posted

Hi,

 

Open up mysql in cpanel and see whether the user is added to the database. If its not, it will produce the error you have. You will also need to check the password too.

 

Also, i think it should have @localhost and not your IP address

 

Let us know how it goes

 

Jim

Posted

I am running OSCommerce on my site. After you create the database you need to have the location localhost, the username of the DB ( cpanelusername_dbname) the the password. catalog/includes/configure.php should have;

 

// define our database connection

  define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', 'cpanelusername_dbname');

  define('DB_SERVER_PASSWORD', 'dbpassword');

  define('DB_DATABASE', 'cpanelusername_dbname');

  define('USE_PCONNECT', 'false'); // use persistent connections?

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

Posted

Glad to hear it. I have found every answer I needed in their forums. Never had to post a question there, just do a search for your question. Every issue I had was had by somebody else and there was an answer waiting. Have a look here. OSCommerce Forums

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...