[horde] DB Error: connect failed
Eric Rostetter
eric.rostetter at physics.utexas.edu
Tue Jun 3 06:11:38 PDT 2003
Quoting mathan <mathan at hotpop.com>:
> When I tried to login into Imap server I got this error.
>
> A fatal error has occurred:
> DB Error: connect failed
> [line 108 of /test/apache/htdocs/horde/lib/Prefs/sql.php]
> Details have been logged for the administrator.
It is saying it can't connect to your database, that it is your preferences
that it is trying to access in the database, and that details have been
logged to your Horde log file or system log file (depending on your setup,
if you have logging setup and working).
So first, if possible, search your logs for those details. They will be
most useful. Second, double check your preference storage setup in
horde/config/horde.conf (or if in doubt, you can even set them to a non-sql
value like session for debugging).
The usual causes are:
1) Didn't properly setup your preferences storage config, or made a typo/mistake
when setting them up, or omitted something important when setting them up.
2) You have a firewall, tcp_wrappers, or database permissions blocking the
connection to the database
3) You are trying to connect over tcp when the database is unix sockets only,
or vice versa.
4) You have a bad user/password specified...
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the horde
mailing list