Horde Webmail Connection issue

When you access to your Horde webmail, and you receive the error as below

A fatal error has occurred
DB Error: connect failed
Details have been logged for the administrator.

It mean that there is issue when connect to horde database.

Things need to check
(1) database service running?
(2) horde database is fine?
(3) double check if the database string is correct, for those who use the cPanel, you can check on /usr/local/cpanel/base/horde/config/conf.php

Please make sure all the setting as below is correct.

$conf[‘sql’][‘persistent’] = true;
$conf[‘sql’][‘username’] = ‘hordeusername‘;
$conf[‘sql’][‘password’] = ‘password‘;
$conf[‘sql’][‘hostspec’] = ‘localhost‘;
$conf[‘sql’][‘port’] = 3306;
$conf[‘sql’][‘protocol’] = ‘tcp’;
$conf[‘sql’][‘database’] = ‘hordedatabase‘;

Leave a Reply

Your email address will not be published. Required fields are marked *