Author Topic: DB error???  (Read 6040 times)

Offline Patt

  • Newbie
  • *
  • Posts: 2
DB error???
« 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:password@vs11111.vserver.de/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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
DB error???
« Reply #1 on: May 18, 2008, 11:59:35 AM »
config/db.inc.php
Code: [Select]

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

Offline Patt

  • Newbie
  • *
  • Posts: 2
DB error???
« Reply #2 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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
DB error???
« Reply #3 on: May 19, 2008, 12:58:25 AM »
Code: [Select]

mysql://web2:password@vs11111.vserver.de/usr_web2_1


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

-Roland
« Last Edit: May 19, 2008, 01:00:48 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Mark F

  • Newbie
  • *
  • Posts: 2
DB error???
« Reply #4 on: May 21, 2008, 08:40:35 AM »
Did you flush privileges in mysql after creating user?

Offline spenlex

  • Newbie
  • *
  • Posts: 1
DB error???
« Reply #5 on: June 27, 2008, 07:13:43 AM »
I have the same problem with the same error message.