Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new installation


millhouse

Recommended Posts

Hi

 

I have uploaded my site up to my webspace but am getting this message

 

Warning: mysql_connect(): Access denied for user: 'website_mystore@localhost' (Using password: YES) in /var/www/html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Is there an area of oscommerce which takes you step by step through the process or can anybody advise?

 

many thanks

Link to comment
Share on other sites

Have you created an SQL database ???  Also, have you assigned yourself as a user to the db ???

Users in lvdata

lvsam_sam (Privileges: ALL PRIVILEGES)

 

Connection Strings

Perl $dbh = DBI->connect("DBI:mysql:lvsam_lvdata:localhost","lvsam_sam","<PASSWORD HERE>");

PHP $dbh=mysql_connect ("localhost", "lvsam_sam", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());

mysql_select_db ("lvsam_lvdata");

 

I did all this but i still can not login

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...