[horde] DB Error: connect failed - access denied for user
horde@localhost (mysql and horde)
Anders Karlstrom
andersk at infra.kth.se
Tue May 25 06:51:22 PDT 2004
I have tried to install Horde 2.2 with PHP Version: 4.3.4. mysqladmin
version reports: Server version 3.23.49-log
Problem is that I cannot connect to mysql database. This would occur if,
for instance, had I used not the correct username or password. But as
far as I can tell, I have set these as follows: In
scripts/mysql_create.sql I have set the password to the same password as
I have in config/horde.php
If I try to connect to mysql, using
mysql --user=horde -p
there is no problem when I submit the password that is in both files
mentioned above. So one would think horde should be able to connect?
The error messages are as follows:
Error message:----------
DB Error: connect failed
[line 108 of /www3/htdocs/horde/lib/Prefs/sql.php]
Details have been logged for the administrator.
---------------------
And the log file says:
maj 25 14:53:01 HORDE [emergency] [imp] DB Error: connect failed:
[nativecode=Access denied for user: 'horde at localhost' (Using password:
YES ** Array [on line 108 of "/www3/htdocs/horde/lib/Prefs/sql.php"]
Why is horde and mysql not connecting?
/Anders
More information about the horde
mailing list