Roundcube Community Forum

 

DATABASE ERROR: CONNECTION FAILED

Started by gurdeeps, January 21, 2008, 07:40:49 AM

Previous topic - Next topic

gurdeeps

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';"

till

You got no mysql extension.

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

Then fix your PHP.

iceman

Type:

sudo pear install MDB2_Driver_mysql

Bye

KalanVryce

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