Roundcube Community Forum

Release Support => Older Versions => Release Candidate 1 => Topic started by: mess-mate on July 05, 2007, 02:53:49 AM

Title: Unable to connect to the database!
Post by: mess-mate on July 05, 2007, 02:53:49 AM
Hi, i'm new to roundcube and after installing it can't connect to the database.
'Unable to connect to the database!' Mysql.
Could you put me on the ricght way ?
best regards
Title: Re: Unable to connect to the database!
Post by: Delta-9 on July 05, 2007, 08:56:33 AM
Look at the error log, its in the "log" directory.

You can also turn up the debugging/logging level by changing this

// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$rcmail_config['debug_level'] = 1;

in the config/main.inc.php  file.

This will give you a little more information about the problem
Title: Re: Unable to connect to the database!
Post by: Iron Mountain on July 08, 2007, 02:43:57 PM
We had a similar issue regarding the can't connect database.

1) We checked the database connection in the config file. It was fine.

2) Then we realized, we didn't have php-mySQL installed :) Installed it and it worked fine.
Title: Re: Unable to connect to the database!
Post by: mess-mate on July 09, 2007, 04:07:22 AM
Thanks Delta-9, had to change the password to 'password' as explained in the INSTALL file and not 'pass' as in main.inc.php.