[imp] IMP 3.0 login problem

Gérard Gachelin Gerard.Gachelin@univ-reunion.fr
Tue, 12 Mar 2002 18:07:49 -0400


In IMP 2.2.5 the horde user passworf fot the horde database was stored 
in imp/config/defaults.php3: $default->db_password='blabla';

So imp was able to communicate with the horde database.

Now, with IMP 3.0, I don't find any equivalent file to this defaults.php3.

And imp can't communicate with mysql (see below)

Sure something is missing in my config. but what ?

Thanks for any suggestion.


Gérard Gachelin wrote:
> Hello,
> 
> I just installed horde 2.0, imp 3.0 on a Sparc server running Solaris 8 
> (gcc 3.0.4, apache 1.3.23, php 4.1.2, mysql 3.23.49)
> 
> horde is working fine if I trust the test.php page.
> 
> 
> But I can't login to the imap server via imp.
> When I click the Login button, I receive the following document :
> 
> A fatal error has occurred object(db_error)(7) {
>   ["error_message_prefix"]=>
>   string(0) ""
>   ["mode"]=>
>   int(1)
>   ["level"]=>
>   int(1024)
>   ["code"]=>
>   int(-24)
>   ["message"]=>
>   string(24) "DB Error: connect failed"
>   ["userinfo"]=>
>   string(86) " [nativecode=Access denied for user: 'horde@localhost' 
> (Using password: YES)] ** Array"
>   ["callback"]=>
>   NULL
> }
> [/usr/local/apache/shtdocs/horde/lib/Prefs/sql.php : 102]
> 
> (the horde database exists. I can connect to this database using the 
> mysql command and the user horde)
> 
> Thanks for any help.



-- 

-- 
Gerard Gachelin				Universite de la Reunion
15, Avenue Rene Cassin - BP 7151	97715 Saint-Denis MESSAG-CEDEX 9
Tel: 0262 93 82 72			Fax: 0262 93 82 60
Email : Gerard.Gachelin@univ-reunion.fr