0

A fatal error has occurred Could not connect to database for SQL SessionHandler

Wednesday, November 7, 2007

Horde "A fatal error has occurred Could not connect to database for SQL SessionHandler. Details h
ave been logged for the administrator"

ERROR: (CPanel server) A fatal error has occurred Could not connect to database for SQL SessionHa
ndler. Details have been logged for the administrator.
1. Check the file /usr/local/cpanel/base/horde/config/conf.php

2. You can find the following entry in the conf.php
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = '';
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['database'] = 'horde';

4. Try to connect the database horde using the following method
#mysql -uhorde -p

You should obtain the "ERROR 1045 (28000): Access denied for user
'horde'@'localhost' (using password: YES)"

5. grant the privilege to the database using the mysql
mysql> grant all privileges on horde.* to horde@localhost identified by
'';

You can now login into the Horde Webmail now.

0 Responses to "A fatal error has occurred Could not connect to database for SQL SessionHandler"