[turba] SUMMARY - Re: the dreaded "failed to connect" problem

David T-G davidtg-horde at justpickone.org
Tue Aug 19 04:14:28 PDT 2003


Hi again!

...and then David T-G said...
% 
% I, too, have found myself with the "failed to connect" problem when
% trying to add a contact to my address book.

Yes, I *had* read docs/INSTALL, but I hadn't fixed the password.

When installing Turba 1.2 you must satisfy the prerequisites of a working
Horde installation and then most people probably go on to using SQL or
LDAP for storage.  I chose SQL.

You have to register it with Horde with a straightforward edit in your
Horde (not Turba!) config/registry.php file.  Later you configure Turba,
which is also pretty straightforward.

The bit in the middle is setting up the databases.  The INSTALL doc will
tell you to use a script if it's available or to roll your own if it
isn't.  What it DOESN'T MENTION is that it stores the 'horde' user for
databases access in ITS files (rather than expecting Horde to provide
that from its config) but DOES NOT know the password, of course.

Find the section in Turba's config/sources.php file that looks like

  $cfgSources['localsql'] = array(
  ...
      'params' => array(
  ...
          'password' => '*****'

(which is at line 139 in my source code) and change those splats to your
actual horde DB account's password.  Voila; it's that simple!

This should definitely be mentioned in the INSTALL file but for now a FAQ
entry -- as well as FINALLY being included in the mailing list archives --
will have to do.


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) davidtg at justpickone.org * society and not sufficient moral courage.
(work) davidtgwork at justpickone.org  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20030819/d1df08fe/attachment.bin


More information about the turba mailing list