[turba] Solution for "Failed to connect to the specified directory"
Terence
terencel@sunway.edu.my
Thu, 18 Jul 2002 09:06:29 +0800
I think this should be in the FAQ: (there are just no solutions to be found
anywhere)
====> start
A co-worker pointed out to me that my protocol should be tcp, not unix. I
also removed the port number. This helped greatly. Here's my version of
that section in sources.pup
$cfgSources['localsql'] = array(
'title' => 'My Addressbook',
'type' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => '******************',
'username' => 'horde',
'password' => '************',
'database' => 'horde',
'options' => '',
'socket' => '',
'tty' => '',
'port' => '',
'protocol' => 'tcp',
'table' => 'turba_objects'
),
Another possibility is that your username and password is not correct. Make
sure you can connect to MySql from the command line. The following two files
connecting to mysql should be the same:
/horde/turba/config/sources.php and
/horde/imp/config/servers.php
Hope this helps somebody