[imp] MySQL Fatal Error on Login (was: Host of Problems with IMP)
Jan Schneider
jan@horde.org
Sat, 11 May 2002 18:31:22 +0200
Zitat von Rodolfo Segleau <segleaur@hotmail.com>:
> OK, I've solved all of the problems by upgrading to Apache 2.0.36 and PHP
>
> 4.2.0 (yea, yea, I know it's the bleeding edge, but I couldn't get 1.3.19
> to
> parse the PHP correctly with 4.2.0).
>
> But now I have an interesting question: when I try to log in, IMP tries
> to
> connect to the db (mysql 2.3.x) to log in with root@sigil instead of
> root@localhost. These are the settings to the db in conf/horde.php
>
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'root';
> $conf['prefs']['params']['password'] = '**************';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
MySQL resolves the IP from where it gets the connection to sigil. So you'll
either have to fix that or allow access for root from sigil to MySQL and
the horde database.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft