[imp] new prefs db format

Jon Parise jon@csh.rit.edu
Thu, 1 Mar 2001 12:53:28 -0500


On Thu, Mar 01, 2001 at 11:39:49AM -0600, rangerfox@rangerfox.com wrote:

> I started tweaking it, and now it wont connect at all..I think I may have
> hosed something up in my conf.php file
> 
> I'm using mysql 3.23.32
> 
> am I missing something here?
> 
> 
> $conf['prefs']['driver'] = 'sql';
> 
> // Any parameters that the preferences driver needs. This includes
> // database or ldap server, username/password to connect with, etc.
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'impmgr';
> $conf['prefs']['params']['password'] = 'xxxxxxx';
> $conf['prefs']['params']['database'] = 'horde';  

You also need:

$conf['prefs']['params']['phptype'] = 'mysql';

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member