roundcube database

Started by Nesster, September 28, 2007, 01:46:58 PM

Previous topic - Next topic

Nesster

Hi,

Could someone instruct me of what needs to be done to get roundcube working on 5.06 (with dovecot) ?

Error is :
DB Error: DB Error: connect failed in /usr/local/www/roundcube/program/include/rcube_db.inc on line 105
in /usr/local/www/roundcube/logs/errors

Do I have to manually create the database and user ? I tried to find information about this on TNPI but to no avail.

Squirrelmail is up and running fine.

Nesster

Well, I found out how. I had to configure the following:

/usr/local/www/roundcube/config/db.inc.php  and get this line straight:
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcube';

Create the roundcube database:
(see google)

Create the base tables for the database:
mysql -u root -p roundcube < /usr/local/www/roundcube/SQL/mysql.initial.sql

And I think that was it.