[imp] Unable "Save PGP public key" to MYSQL

alex alex@thbuo.gov.tw
Wed, 8 May 2002 13:17:50 +0800


Hi all:
Recently updated horde projects via cvs.
In IMP got this error message while saveing PGP public key from attachement  to 
local SQL (mysql).

Notice: Undefined index: socket in /usr/local/lib/php/DB/mysql.php on line 108
Fatal error: Call to undefined function: search() 


<<< Here is my partial /turba/config/source.conf >>>
=====================================================
$cfgSources['localsql'] = array(
    'title' => 'localsql',
    'type' => 'sql',
    'params' => array(
        'phptype' => 'mysql',
        'hostspec' => 'mysql.thb.gov',
        'username' => 'horde',
        'password' => 'horde',
        'database' => 'horde',
        'options' => '',
        'tty' => '',
        'port' => '5432',
        'protocol' => 'unix',
        'socket' => '',
        'table' => 'turba_objects'
    ),
    '.........
=======================================================
i also check /tmp/mysql.sock but it didn't exist. 



Horde Versions
Horde: 3.0-cvs 
IMP: 4.0-cvs (run IMP tests) 
Turba: 2.0-cvs 
Gollem: 0.0.1-cvs 
Nic: 0.0.2-cvs 
Kronolith: 2.0-cvs 
Mnemo: 1.0-cvs 
Nag: 2.0-cvs