Roundcube Community Forum

Release Support => Release Discussion => Topic started by: Patt on May 18, 2008, 10:23:01 AM

Title: DB error???
Post by: Patt on May 18, 2008, 10:23:01 AM
Hi,

what do i have to do to solve this:

Check configured database settings
Backend: PEAR::MDB2
DSN (write):  NOT OK(MDB2 Error: not found)
Make sure that the configured database exists and that the user has write privileges
DSN: mysql://web2:[email protected]/usr_web2_1

There are known problems with MDB2 running on PHP 4. Try setting db_backend to 'db' instead


Sorry, i am a newbie :)

Patt
Title: DB error???
Post by: rosali on May 18, 2008, 11:59:35 AM
config/db.inc.php

// database backend to use (only db or mdb2 are supported)
$rcmail_config['db_backend'] = 'db';
Title: DB error???
Post by: Patt on May 18, 2008, 01:59:51 PM
Hi,

thanks but i got the error anyway!?

What else can it be?

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator

Thanks

Patt
Title: DB error???
Post by: rosali on May 19, 2008, 12:58:25 AM

mysql://web2:[email protected]/usr_web2_1


Can you connect MySQL by PHPMyAdmin? Is usr_web2_1 the correct RoundCube database (default: roundcubemail)?

-Roland
Title: DB error???
Post by: Mark F on May 21, 2008, 08:40:35 AM
Did you flush privileges in mysql after creating user?
Title: DB error???
Post by: spenlex on June 27, 2008, 07:13:43 AM
I have the same problem with the same error message.