Page 1 of 1

Can't connect to database

Posted: Sun Jul 02, 2006 1:10 pm
by persepolis
I have the same problem using PHP 4.4.2 and MySQL 41.20 on Windows XP
I can't login - is there something in PHP/MySQL-Configuration I have to consider ?

I created a database "cms" and a user "cms" with all privileges for this database by MySQL Administrator

I tried to edit the config.php by



Please note the mysqld, because mysql.ini says i use the section mysqld.

Anyway even the unchanged orĀ  deleted config.php did not work.
I even restarted the MySQL engine and Apache, i enabled debug in install/install.php - I did not get any error message ?

Re: Can't connect to database

Posted: Sun Jul 02, 2006 7:09 pm
by Dee
With $config['dbms'] you set the database type to be used by AdoDB (the database abstraction layer).
These are the options: http://phplens.com/lens/adodb/docs-adodb.htm#drivers (not all will work with CMSMS/AdoDB Lite).
So you should use mysql (not mysqld, which is the process/binairy name of the mysql daemon).

BTW: Don't post passwords here, please change this password.