[horde] how to make horde connects to mysql using TCP
Jan Schneider
jan at horde.org
Mon May 3 08:11:40 PDT 2004
Zitat von Antoine Jacoutot <ajacoutot at lphp.org>:
> Hi !
>
> I'm using horde-2.2.4 under OpenBSD-3.5 with chrooted apache.
> As so, I was wondering if it was possible to tell horde not tu use a
> socket to
> connect to mysql but use tcp.
>
> I have the following in my horde.conf:
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = '*****';
> $conf['prefs']['params']['password'] = '*****';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
$conf['prefs']['params']['protocol'] = 'tcp';
is missing.
> Unfortunately, this does not seem to work, I get the well know error:
> DB Error: connect failed
> [lign 108 /horde/lib/Prefs/sql.php]
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the horde
mailing list