Roundcube Community Forum

 

DB error???

Started by Patt, May 18, 2008, 10:23:01 AM

Previous topic - Next topic

Patt

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

rosali

config/db.inc.php

// database backend to use (only db or mdb2 are supported)
$rcmail_config['db_backend'] = 'db';
Regards,
Rosali

Patt

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

rosali

#3

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


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

-Roland
Regards,
Rosali

Mark F

Did you flush privileges in mysql after creating user?

spenlex

I have the same problem with the same error message.