Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: gmaroon on May 31, 2004, 11:38:40 AM
-
Hi All,
A clients e-smith 5.6 system has been running quite fine for a few months.
It may be that a web designer has toyed with mysql but the webmail now falls over with
A FATAL ERRROR HAS OCCURED
object(db_error)(7) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-24)
["message"]=>
string(24) "DB Error: connect failed"
["userinfo"]=>
string(86) " [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array"
["callback"]=>
NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]
Most of the posts I have view discuss updates from 5.6 to 6 e.g.
I would really appreciate some help with this.
Kind Regards, Garry
-
Make sure you have the correct user/password information in
#/ home/httpd/html/horde/config/horde.php
/* This is an example configuration for a MySQL preference backend.
* Be sure to set the prefs driver to 'sql' above if you use this
* configuration.
*/
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'horde';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
Best rgds, Ergin