SamStar Posted July 28, 2008 Posted July 28, 2008 Dear All: I was very happy to find this wonderful tool. I followed the instillation instruction to the dot. I am using MYSQL Server 5.0. And PHP. They both work fine. I created new schema and new user and gave the new user full privileges to the new schema. Attempted to install oscommerce. I went through the steps one by one without any errors. Then finally I reach the (FINISHED) screen with two buttons Catalog Administration Tool If I choose the Catalog button it takes me to the first instillation screen and if I choose the Administration Tool I get the following error: Unable to connect to database server!PHP Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in C:\Inetpub\wwwroot\catalog\admin\includes\functions\database.php on line 19 Any feedback would be much appreciated.
Guest Posted July 28, 2008 Posted July 28, 2008 Check the admin>includes>configure.php file near the bottom there is a section that has the database access password, make sure that password is correct. Without the correct password, the admin side wouldn't have access to the database. Chris
♥Vger Posted July 28, 2008 Posted July 28, 2008 1. Delete or rename the 'install' folder. 2. You'll probably find that whilst the install wrote data to the includes/configure.php file it did not write data to the admin/includes/configure.php file 3. Use the data in the includes/configure.php file as a guide to setting up the admin/includes/configure.php file, but don't overwrite one with the other as they are different files. Vger
SamStar Posted July 29, 2008 Author Posted July 29, 2008 Check the admin>includes>configure.php file near the bottom there is a section that has the database access password, make sure that password is correct. Without the correct password, the admin side wouldn't have access to the database. Chris Thanks Chris and Vger , your guidance was very helpful, I am getting to the sample web page now without any error messages. But what I dont understand is why cant I get to the Admin page. when i go to the link http://localhost/catalog/admin/ I receive (The page cannot be found). where am I going wrong? Thanks once more
Recommended Posts
Archived
This topic is now archived and is closed to further replies.