Log or a $var_dump to check MySQL prefs connection?
Mike Coughlan
mcoughlan@gothambroadband.com
Tue, 23 Oct 2001 16:14:08 -0400
Thanks, Chuck, I cutted and pasted improperly! This should be better:
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'root';
$conf['prefs']['params']['password'] = '*******';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
Unfortunately, prefs are still not saving. I can access the tables with
myssql, but the mysql logs indicate no activity from horde only from the
prompt.
Is there a log option, or a $var_dump I can do to check the connection
status, or the status of php4-MySQL? The test.php thinks it's installed, as
does the Debian Testing package list.
Thanks again
> -----Original Message-----
> From: Chuck Hagenbuch [mailto:chuck@horde.org]
> Sent: Tuesday, October 23, 2001 12:29 PM
> To: imp@lists.horde.org
> Subject: RE: [imp] MySQL Prefs setup problems with 2.3.7
>
>
> Quoting Mike Coughlan <mcoughlan@gothambroadband.com>:
>
> > Warning: Undefined index: params in /usr/share/horde/imp/lib/IMP.php on
> > line 144
>
> [snip]
>
> > > > conf['prefs']['driver'] = 'sql';
> > > > $conf['auth']['params']['phptype'] = 'mysql';
> > > > $conf['auth']['params']['hostspec'] = 'localhost';
> > > > $conf['auth']['params']['username'] = 'root';
> > > > $conf['auth']['params']['password'] = '*******';
> > > > $conf['auth']['params']['database'] = 'horde';
> > > > $conf['auth']['params']['table'] = 'auth';
>
> Maybe a bunch of those should say 'prefs' instead of 'auth'?
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> "What was and what may be lie, like children whose faces we
> cannot see, in
> the arms of silence. All we ever have is here, now." - Ursula K. Le Guin
>
> --
> 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
>