millhouse Posted April 30, 2005 Share Posted April 30, 2005 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 More sharing options...
Guest Posted April 30, 2005 Share Posted April 30, 2005 Have you created an SQL database ??? Also, have you assigned yourself as a user to the db ??? Link to comment Share on other sites More sharing options...
samccheung Posted May 1, 2005 Share Posted May 1, 2005 Have you created an SQL database ??? Also, have you assigned yourself as a user to the db ??? <{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.