Cannot configure dsn
Miguel Angel
miguelangel.almudever@aidico.es
Fri, 1 Mar 2002 14:39:33 +0100
Hi,
I have recently installed Horde 2.0 and IMP 3.0 on my system. I'm working
under Windows98, with an Apache 1.3.23 Server and a Mysql 3.23.49 database.
I have succesfully executed the scrips for the horde database creation but
as I try to login under horde, I get the following message:
**************************
A fatal error has occurred
object(pear_error)(7) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
NULL
["message"]=>
string(41) "Unable to connect to SQL server."
["userinfo"]=>
NULL
["callback"]=>
NULL
}
[c:\archivos de programa\apache group\apache\htdocs\horde\lib\Auth\sql.php :
109]
******************************************************************
This is the configuration I have in my horde\config\horde.php file for the
dsn:
$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();
$conf['auth']['params']['dsn'] =
'mysql(mysql)://horde:horde@tcp+localhost/horde';
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['protocol'] = 'tcp';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'horde';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';
I have tried other type of configurations, setting up an ODBC driver for the
database, but this doesn´t either seem to work...
If anyone can help me overcome this problem, I would really appreciate.
Thank-you very much,
Miguel Angel.-