DB Error logging into horde and imp

Scott Singleton scott@beacon-inc.com
Tue, 30 Oct 2001 23:10:25 -0500


here's the error displayed when attempting to log into either horde or imp.
Any suggestions on where to look to resolve this?

object(db_error)(10) {
["error_message_prefix"]=>
string(0) ""
["error_prepend"]=>
string(0) ""
["error_append"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-24)
["message"]=>
string(24) "DB Error: connect failed"
["debuginfo"]=>
string(0) ""
["userinfo"]=>
string(98) " [nativecode=Host 'localhost.localdomain' is not allowed to
connect to this MySQL server] ** Array"
["callback"]=>
NULL


I've got IMAP Auth setup and the auth passes according to the horde log
file. Here's that config section:

 $conf['auth']['driver'] = 'imap';
 $conf['auth']['params']['dsn'] =
'{listserver.flyfishingvirginia.com/imap:143}INBOX';


I've got the following in prefs and connections and have verified that the
hordemgr user can log in and access these tables:

/**
 ** Preference System Settings
 **/

// What preferences driver should we use? Valid values are 'none'
// (meaning use system defaults and don't save any user preferences),
// 'session' (preferences only persist during the login), 'ldap', 
// and 'sql'.
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype']='mysql';
$conf['prefs']['params']['hostspec']='localhost';
$conf['prefs']['params']['username']='hordemgr';
$conf['prefs']['params']['password']='hordemgr';
$conf['prefs']['params']['database']='horde';
$conf['prefs']['params']['table']='horde_prefs';

$conf['connections']['track']=true;
$conf['connections']['driver']='sql';
$conf['connections']['params'] = array();
$conf['connections']['params']['phptype']='mysql';
$conf['connections']['params']['hostspec']='localhost';
$conf['connections']['params']['username']='hordemgr';
$conf['connections']['params']['password']='hordemgr';
$conf['connections']['params']['database']='horde';
$conf['connections']['params']['table']='connections';