[horde] Configuring Horde for MySQL
René Lund Jensen
lundeman at tbkol.dk
Thu May 1 08:43:29 PDT 2003
James Van Sickle wrote:
> I added the following variables from the horde.php file into the Auth class
> under the auth.php file.
>
> $conf['prefs']['params'] = array();
> $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';
>
> When I try to login to Horde now, I get the following error message. I moved
> my variables from the Auth.php file to sql.php, but got the same results.
>
This is wrong.
In the same file where you fund these settings for preferences, there
are some settings for auth to. So you need something like:
$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'horde';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_auth';
NOTE: 'prefs' changed to 'auth'.
René Jensen
More information about the horde
mailing list