C64 Posted June 30, 2007 Posted June 30, 2007 I have installed osCommerce on a local PC but when I try to access it I have this error massage Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\os\includes\functions\database.php on line 19Unable to connect to database server! I belive there is a simple solution for this but I'm beginner and I would like to try, test and play with osCommerce on my local PC before going online with my store. Can someone please help me. :'( Hi to all community :thumbsup:
spax Posted June 30, 2007 Posted June 30, 2007 Check in the 2 configure files - includes/configure.php and admin/includes/configure.php - and make sure you have set the username and password at the bottom of those 2 files. The username is usually "root" and the password is whatever you set it to be. If you haven't set a password, access phpmyadmin - I am assuming you have that - click on privileges and the edit icon next to the present user "root" and set the password. Once you have clicked on privileges, you even have the option to set a new user, if you don't want to use root.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.