[imp] DB Error logging into horde and imp
Jan Schneider
jan@horde.org
Wed, 31 Oct 2001 10:35:51 +0100
The mysql user 'hordemgr' has not the necessary priviledges to connect to your
mysql server.
Jan.
Zitat von Scott Singleton <scott@beacon-inc.com>:
> 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';
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::