Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installed...


Guest

Recommended Posts

I managed to finally install the oscommerce onto my site.

But now when I try accessing the admin directory:

 

Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in /home/www/MY USERNAME/catalog/ADMINDIRECTORY/includes/functions/database.php on line 19

Unable to connect to database server!

 

Any ideas?

Link to comment
Share on other sites

Warning: mysql_connect(): Host '******' is not allowed to connect to this MySQL server in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong server DB_SERVER information in the configure.php files

 

Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files

 

If you can access your catalog then cross reference the database information located at the bottom of the file catalog/includes/configure.php against the file admin/includes/configure.php to see that the information is the same and watch out for case sensitive

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

Thanks, yes the problem was in the admin configure file. I changed that and uploaded it and it worked. But now when I try to click on a link in the admin its trying to access www.mydomain.com/admindirectory rather than /catalog/admindirectory....any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...