Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Issue on install


ssierra1

Recommended Posts

I just installed oscommerce everything went well. I got a configuration complete. When I clicked on Catalog I got this message: Warning: mysql_connect(): Access denied for user: 'sizzli2_ssierra1 @localhost' (Using password: YES) in /home/sizzli2/public_html/catalog/admin/includes/functions/database.php on line 19

Unable to connect to database server!

I got the same message on administrative tools.

 

Can someone please tell me what I did wrong? :huh:

Link to comment
Share on other sites

either you have not created the database or your configure.php files in admin and catalog includes are set wrong

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I got that part to work, now I get an error when I hit administrative tool: select configuration_key as cfgKey, configuration_value as cfgValue from configuration. Thank you for the assistance. :D

Link to comment
Share on other sites

I see you are now answering your own questions :lol:

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

admin/includes/configure.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Please check to make sure this section in configure.php is properly configured.

 

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'AccountThatHasAccessToDataBase');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'DatabaseName');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Link to comment
Share on other sites

Hi ssierra1

 

I have the same problem

 

Access denied for user: '[email protected]@209.139.239.150' (Using password: YES)

 

Please I need help!

 

Thanks

 

Simon.

Hello,

 

Make sure your config.php in catalag and your config.php in admin are exactly the same I think it is line 19 $server $user $password should be the same on both. On my nothing changed they stayed exactly like that, and it worked. Make sure your public_html smtl file is not missing. That kept me from logging on. Also if it is your first time logging in there is a password for firt time login in the read me file. I hope this helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...