3

I copied over an existing roundcube installation from one Debian wheezy system to another Debian wheezy. But I keep getting the following error in the log and empty page loads:

DB Error: Configuration error. Unsupported database driver: roundcube

The db is Mysql and it's accessible with the credentials from the given host.

Any idea what is causing this error?

sebix
  • 4,313
  • 2
  • 29
  • 47
softi
  • 31
  • 1
  • 2
  • Which version of roundcube are you using? How have you checked the database connection? – sebix May 13 '15 at 13:29

2 Answers2

3

More than likely something is wrong with your database connector string. Check in your Roundcube installation directory. Inside your config directory you should have a config.inc.php file.

Within this check your database connection string: $config['db_dsnw']

For example, with MySQL this could be:

$config['db_dsnw'] = 'mysql://dbuser:dbpassword@localhost/dbname';
James Yale
  • 5,182
  • 1
  • 17
  • 20
Aditya K
  • 923
  • 3
  • 13
  • 24
  • $rcmail_config['db_dsnw'] = 'mysql://webmail:pass@10.0.0.12/mail_roundcube'; Yes this is the mysql connection string as I said I rsynced everything from other working server. The db credentials are working because I tested them manually. – softi May 12 '15 at 13:38
0

Check inside the file /etc/dbconfig-common/roundcube.conf if this variable it's established to mysql

dbc_dbtype='mysql'
NetVicious
  • 462
  • 5
  • 17