Roundcube Community Forum

Release Support => Release Discussion => Topic started by: gurdeeps on January 21, 2008, 07:40:49 AM

Title: DATABASE ERROR: CONNECTION FAILED
Post by: gurdeeps 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';"
Title: Re: DATABASE ERROR: CONNECTION FAILED
Post by: till 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.
Title: DATABASE ERROR: CONNECTION FAILED
Post by: iceman on September 07, 2009, 08:29:58 AM
Type:

sudo pear install MDB2_Driver_mysql

Bye
Title: DATABASE ERROR: CONNECTION FAILED
Post by: KalanVryce 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