[horde] [emergency] Unable to connect to SQL server

Michael Rubinsky mrubinsk at horde.org
Fri Oct 3 13:48:27 UTC 2008


Quoting "J. Bakshi" <joydeep at infoservices.in>:

> Hello everyone,
>
> I have installed horde rpm 3.1.4 in suse 11.
> I have already configure the sql related settings to authenticate  
> users and checked all configuration multiple times.
>
> But After giving the username and password the browser shows
>
> ~~~~~~~~~~~~
> A fatal error has occurred
> Unable to connect to SQL server.
> Details have been logged for the administrator.
> ~~~~~~~~~~~~~~
>
> The log says
>
> HORDE [emergency] [horde] Unable to connect to SQL server. [on line 441
> of "/srv/www/htdocs/horde/lib/Horde/Auth/sql.php"]
>
>  and the 441 line is
>
> if (is_a($this->_db, 'PEAR_Error')) {
>             Horde::fatal(_("Unable to connect to SQL server."),
> __FILE__, __LINE__);
>         }
>
>
> I have no clue about this  :-(
> Could any one kindly suggest me what is wrong here ?
> Thanks


Well, the error is just what it says, that Horde is unable to connect  
to the SQL server.  Double check all configuration on both the horde  
and the sql server end. How did you configure Horde to connect to your  
server? Is the server running, can you connect with other tools etc...?

If your unable to track it down, try doing a var_dump($this->_db);  
right before the Horde::fatal line to get a more detailed error.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20081003/41ef2191/attachment.bin>


More information about the horde mailing list