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
installation step 4 -(database connectivity) wrong username/password
installation step 4 -(database connectivity) wrong username/password
Last edited by john on Tue Nov 14, 2006 4:38 pm, edited 1 time in total.
Re: installation step 4 -(database connectivity) wrong username/password
and you have php mysql packages installed?
I think that username/password error is just generic "cannot access db" error.
I think that username/password error is just generic "cannot access db" error.
Re: installation step 4 -(database connectivity) wrong username/password
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.
You can also install phpMyAdmin to manage your DB.
Good luck.