Can't connect to database

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
persepolis

Can't connect to database

Post 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 ?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Can't connect to database

Post 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.
Locked

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