installation step 4 -(database connectivity) wrong username/password

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
john

installation step 4 -(database connectivity) wrong username/password

Post by john »

1) Started the installation of cms made simple after setting up MySQL and PHP on IIS 5.0.

PHP version = 4.4.4

MySQLServer version = 5.0

IIS version = 5.0


2) A new virtual website was setup on the CMS installation directory to establish path as http://localhost/CMC/

3) config.php file created and added to the installation directory.

4) started mysql server; setup database named - cms

5) use cms database and typed:- grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';

The installation went well up to step 3 then error result at step 4:
"Could not connect to database. Verify that username and password are correct, and that the user has access to the given database.


This suggests that for some reason mysql does not have the correct username / password to continue?
I tried changing the 'cms_pass' to a new password; no good.

I have been trying for 2 days now; can't find soution - please help
Last edited by john on Tue Nov 14, 2006 4:38 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: installation step 4 -(database connectivity) wrong username/password

Post by tsw »

and you have php mysql packages installed?

I think that username/password error is just generic "cannot access db" error.
Christophe Lambrechts

Re: installation step 4 -(database connectivity) wrong username/password

Post by Christophe Lambrechts »

You can test the properly setup of your DB with a simple PHP page. For example http://www.freewebmasterhelp.com/tutorials/phpmysql/2

You can also install phpMyAdmin to manage your DB.

Good luck.
Locked

Return to “[locked] Installation, Setup and Upgrade”