Horde Error…….Could not connect to database for SQL SessionHandler.

cd /usr/local/cpanel/base/horde/config

vi conf.php

Change the following two lines from:
$conf['sql']['hostspec'] = ‘localhost’;
$conf['sessionhandler']['params']['hostspec'] = ‘localhost’;

to:
$conf['sql']['hostspec'] = ‘localhost:/var/lib/mysql/mysql.sock’;
$conf['sessionhandler']['params']['hostspec'] = ‘localhost:/var/lib/mysql/mysql.sock’;

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Cannot upload images to phpBB posts

The issue is mainly occurring due to the absence of some code. To fix this issue, do the...

 How to Change Your FTP Port

Lately FTP has been a problem for a lot of hosting providers. Especially since the recent influx...

 Child pid xxx exit signal Segmentation fault (11)

Sometimes apache is crashing and all or some PHP pages are showing blank when you browse it. Also...

 Mailman Error “Bug in Mailman version 2.1.11.cp3?

If you are getting following error when trying to modify mailinglist then execute following...

 How to stop generating core files

You may come across core files which gets generated within your accounts . The possible reason...