[horde] sql configuration issue

Marcus I. Ryan marcus at riboflavin.net
Thu Oct 31 07:02:40 PST 2002


Comments are ahead of their time.  That was added to horde a while ago
but the applications haven't been updated to take advantage of it yet. 
Feel free to start :)

Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> CVS HEAD, recent and not so recent a like...
> 
> I finally got my postgresql working with unix sockets rather than tcp
> sockets.  I had to set the sql parameters everywhere I used a sql
> driver.
> This contradicts the comments in the files.  For example, in
> horde/config/conf.php it says:
> 
> // Any parameters that the preferences driver needs. This includes
> // database or ldap server, username/password to connect with, etc.
> If
> // you are using a database and have configured a Horde database in
> // $conf['sql'], you don't need to enter anything here.
> 
> I found this not to work.  I had configured $conf['sql']['protocol']
> to
> 'unix' but the prefs were still using 'tcp' instead of 'unix'.
> 
> Setting it in $conf['prefs']['params'] fixed it.  A quick look at the
> code shows no place where the sql backends (prefs, etc) check the
> $conf['sql'] array...
> 
> So are these comments wrong?  Or am I missing something?
> 
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
> 
> Why get even? Get odd!
> 
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Marcus I. Ryan, marcus at riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------


More information about the horde mailing list