[horde] horde.php and conf.php - db connect error

Rick Emery rick at emery.homelinux.net
Thu Aug 7 07:49:31 PDT 2003


Majorly snipped to only include the pertinent stuff...

Quoting Adrian DeBoer <stud_muffin_540 at yahoo.com>:

>
> > Maybe post a copy to the mailing list after removing
> > any sensitive info
> > like passwords...
>
> This won't be live on the internet...so passwords
> don't really matter if you see them or not.

Don't forget that mailing list posts are archived, and the archives are publicly
available.

> OK.....Here is my /horde/kronolith/config/conf.php
> file:
>
> // This is an example configuration for an sql driver,
> in this case MySQL.
> $conf['calendar']['params']['phptype'] = 'mysql';
> $conf['calendar']['params']['hostspec'] = 'localhost';
> $conf['calendar']['params']['username'] = 'horde';
> $conf['calendar']['params']['password'] = '*****';
> //$conf['calendar']['params']['password'] = 'horde';
> $conf['calendar']['params']['database'] = 'horde';
> $conf['calendar']['params']['table'] =
> 'kronolith_events';
>
> Here is my horde.php....I cut out all the commented
> sentances and provided only the relevaent information:
>
> // An array holding any parameters that the Auth
> object will need to
> // function correctly.
> $conf['auth']['params'] = array();
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'horde';
> //$conf['auth']['params']['password'] = '*****';
> $conf['auth']['params']['password'] = 'horde';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'horde_users';
>
> Preference System Settings
>
> $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']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> $conf['prefs']['params']['password'] = '*****';
> //$conf['prefs']['params']['password'] = 'horde';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';

I believe that the password for all of these need to be the same (the username
is). If I'm following your postings correctly, and these are your actual
passwords, the password you have above for prefs and calendar are wrong. It
actually looks like the wrong lines are commented out (for prefs and calendar).

hth,
Rick




More information about the horde mailing list