[DIFFERENT APPROACH WORKS] could not connect to the database mysql 5.0.45
Posted: Tue Dec 11, 2007 6:17 pm
Hi there,
I've tried hard to find a solution through the search, everything failed so far...
Mac OS X 10.4.11
Apache 1.3.33 (preinstalled)
MySql 5.0.45 (downloaded from their website.
PHP 4.4.7 (activated by decommenting the httpd.conf file of Apache)
CMSMS 1.2.2
All on the local machine.
The installation works until step 3 with this error message:
Could not connect to the database. Verify that username and password are correct, and that the user has access to the given database.
these are the credentials:
Database Type: mysql
Database host address: localhost
Database name : cms
Username : cms_user
Password : cms_pass
Table prefix cms_
if I go to the OSX terminal, I can log on with mysql -u cms_user -pcms_pass;
on the mysql> command prompt, I can enter
show databases;
and it will show
+--------------------+
| Database |
+--------------------+
| information_schema |
| cms |
| mysql |
| test |
+--------------------+
so I infer that I've successfully created a user names cms_user, who has access to the 'cms' database, right?
One thing I thought might be my problem is the issue with older php versions not being able to communicate with newer mysql databases according to
http://forum.cmsmadesimple.org/index.ph ... l#msg65618
But this didn't make any difference.
Any help much appreciated
I know I'm a newbee, but that's simply because I've just discovered CMSMS...
Gratefully
anderwelten
I've tried hard to find a solution through the search, everything failed so far...
Mac OS X 10.4.11
Apache 1.3.33 (preinstalled)
MySql 5.0.45 (downloaded from their website.
PHP 4.4.7 (activated by decommenting the httpd.conf file of Apache)
CMSMS 1.2.2
All on the local machine.
The installation works until step 3 with this error message:
Could not connect to the database. Verify that username and password are correct, and that the user has access to the given database.
these are the credentials:
Database Type: mysql
Database host address: localhost
Database name : cms
Username : cms_user
Password : cms_pass
Table prefix cms_
if I go to the OSX terminal, I can log on with mysql -u cms_user -pcms_pass;
on the mysql> command prompt, I can enter
show databases;
and it will show
+--------------------+
| Database |
+--------------------+
| information_schema |
| cms |
| mysql |
| test |
+--------------------+
so I infer that I've successfully created a user names cms_user, who has access to the 'cms' database, right?
One thing I thought might be my problem is the issue with older php versions not being able to communicate with newer mysql databases according to
http://forum.cmsmadesimple.org/index.ph ... l#msg65618
But this didn't make any difference.
Any help much appreciated

I know I'm a newbee, but that's simply because I've just discovered CMSMS...
Gratefully
anderwelten