Author Topic: DATABASE ERROR: CONNECTION FAILED  (Read 16386 times)

Offline gurdeeps

  • Newbie
  • *
  • Posts: 1
DATABASE ERROR: CONNECTION FAILED
« on: January 21, 2008, 07:40:49 AM »
hi
I am trying to run roundcube webmail with hmail server. all the settings has been done as refference "http://www.hmailserver.com/forum/viewtopic.php?t=5591"
I am Installing it on winxp with IIS 5.1.

When I am running roundcube in browser I am receiving this error "DATABASE ERROR: CONNECTION FAILED!"
and this error in error log "21-Jan-2008 10:03:01 +0000] DB Error: DB Error: extension not found in C:\Documents and Settings\Gurdeeps\My Documents\roundcubemail-0.1-rc2\program\include\rcube_db.inc on line 105
"

I have set the database path in db.inc.php in config folder "$rcmail_config['db_dsnw'] = 'mysql://roundcube:vienna@localhost/roundcubemail';"

Offline till

  • Jr. Member
  • **
  • Posts: 49
Re: DATABASE ERROR: CONNECTION FAILED
« Reply #1 on: February 01, 2008, 10:29:50 PM »
You got no mysql extension.

Create a file called info.php and put the following in:

Then fix your PHP.

Offline iceman

  • Newbie
  • *
  • Posts: 1
DATABASE ERROR: CONNECTION FAILED
« Reply #2 on: September 07, 2009, 08:29:58 AM »
Type:

sudo pear install MDB2_Driver_mysql

Bye

Offline KalanVryce

  • Newbie
  • *
  • Posts: 1
DATABASE ERROR: CONNECTION FAILED
« Reply #3 on: November 15, 2009, 02:51:24 PM »
Awsome thanks guys, fixed my issue in Ubuntu as well, dunno why it didn't install the mysql one when it did install the sqlite one but whatever, did the following, refreshed the page and it's working fine now!

$ apt-get install php-mdb2-driver-mysql