[horde] Login problems with horde and mysql

Chris DeRuiter CDeRuiter at Ovid.com
Tue Feb 25 09:13:58 PST 2003


Dear list members,

 

As I'm new to this list I'm sure that somebody knows an answer to my
solution.

I'm sure it's a rookie issue.

 

I'm continuously receiving the same error connecting to horde.

 

A fatal error has occurred:

Unable to connect to SQL server.

[line 118 of /repository/fs001/oridir/horde-2.2/lib/Auth/sql.php]

Details have been logged for the administrator. 

 

The details in the log file are exactly the same as the one in the error
block on the screen.

 

Horde is a user configured with all the rights in mysql 

Within the horde_users table the user deruiter is created with testing as a
password.

This password is encrypted within the table.

 

But as far as I can see I cannot even connect to the table.

As a phptype I tried the types mentioned in the snippet.

 

 

Horde.php

 

// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp' and 'krb5'.

$conf['auth']['driver'] = 'sql';

 

// An array holding any parameters that the Auth object will need to

// function correctly.

// $conf['auth']['params'] = array('phptype' => 'odbc',

// $conf['auth']['params'] = array('phptype' => 'sql',

$conf['auth']['params'] = array('phptype' => 'mysql',

                                'hostspec' => 'xxxxx.xxx.com',

                                'username' => 'horde',

                                'password' => 'xxxxxxx',

                                'database' => 'horde',

                                'table' => 'horde_users');

 

 

Thanks for your help,

 

Chris. 

 

 

-------------------------------

Chris de Ruiter

Yoda >>  "You MUST UNLEARN what you have learned"

 



This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, forwarding or otherwise distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 


    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Chris de Ruiter (Chris_deruiter at ovid.com).vcf
Type: application/octet-stream
Size: 674 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20030225/f0613bcc/ChrisdeRuiterChris_deruiterovid.com-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2074 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20030225/f0613bcc/image001-0002.gif


More information about the horde mailing list