[imp] Log or a $var_dump to check MySQL prefs connection?

TOM GERMIAT TOM.GERMIAT@menasha.com
Tue, 23 Oct 2001 15:19:47 -0500


---------------------- multipart/alternative attachment
Your username and password look as though they might be the system root.  =
You need to make sure you're using an SQL account name here with sufficient=
 authority to operate on the horde database.

>>> mcoughlan@gothambroadband.com 10/23/01 03:14PM >>>
Thanks, Chuck, I cutted and pasted improperly!  This should be better:

$conf['prefs']['driver'] =3D 'sql';
$conf['prefs']['params']['phptype'] =3D 'mysql';
$conf['prefs']['params']['hostspec'] =3D 'localhost';
$conf['prefs']['params']['username'] =3D 'root';
$conf['prefs']['params']['password'] =3D '*******';
$conf['prefs']['params']['database'] =3D 'horde';
$conf['prefs']['params']['table'] =3D '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'] =3D 'sql';
> > > > $conf['auth']['params']['phptype'] =3D 'mysql';
> > > > $conf['auth']['params']['hostspec'] =3D 'localhost';
> > > > $conf['auth']['params']['username'] =3D 'root';
> > > > $conf['auth']['params']['password'] =3D '*******';
> > > > $conf['auth']['params']['database'] =3D 'horde';
> > > > $conf['auth']['params']['table'] =3D '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=3Dimp&r=3D1&w=3D2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>


--=20
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=3Dimp&r=3D1&w=3D2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org

---------------------- multipart/alternative attachment--