IMP Reports Not Logged In Before (was Re: [imp] maintenance)

Conor Kerr conor@dev.ceon.net
Tue, 05 Feb 2002 22:10:27 GMT


Hi Bob,

> When I do login, it also says that I have never logged
> in before.  I have MySQL installed and running.

You have to enable MYSQL as the Preferences Driver in the file
horde/config/horde.php

Find the following line and make sure that 'sql' is on the right hand
side:

$conf['prefs']['driver'] = 'sql';

You then need to set the parameters for the SQL preference backend. 
Just scroll on down a bit and fill in your MySQL details.  It should end
up looking something like this (I've hidden my password with the **s):

$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '******';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

Hope that helps you. :)

By the way, the above assumes that you have created the horde tables as
detailed in the installation instructions.

All the best...

Conor