Re: failure in changing password forhorde authentication:user not found

Simon Brereton <[email protected]> Mon, 4 Oct 2010 19:19:12 +0200
Newsgroups gmane.comp.horde.sork
Message-ID <8AEF1088F84EE440A3004F96F838014E01E1DA2B8E@DADAEXCCR.dadaexchange.local>
> -----Original Message-----
> From: [email protected] [mailto:sork-
> [email protected]] On Behalf Of nada aziz
> Sent: Monday, October 04, 2010 9:52 AM


> >>        'sql' => array(
> >>                         'name' => 'Postfix',
> >>                 'driver' => 'sql',
> >>                         'required' => true,
> >>                 'params' => array(
> >>          'phptype'    => 'mysql',
> >>          'hostspec'   => 'localhost',
> >>          'username'   => 'postfix',
> >>          'password'   => 'my password',
> >>          'encryption' => 'plain',
> >>          'database'   => 'postfix',
> >>          'table'      => 'mailbox',
> >>          'user_col'   => 'username',
> >>          'pass_col'   => 'password',
> >>          'show_encryption' => false,
> >>
> >>         ),
> >>     )),
> >>  ));
> >>
> >> but i got (failure in changing password for Example All services:
> >> Failure in changing password for Horde Authentication: Unable to
> >> connect to sql server) please help, i am new to horde and dont
> know
> >> php thanks in advance

As Eric posted - your problem seems to actually be that you have no connection to your mysql server.

> > But if it doesn't resolve your issue, you're going to have to
> increase
> > your debugging on the mysql.log and watch it in realtime as you
> tinker.
> > Until you do that no one can help you - especially not yourself.
> The
> > mysql log is the only place you'll work out whether the input from
> > your form and the actions passwd is trying to do match your DB and
> structure.
> >
> it didnt work i got the same error, since i am new in everything can
> you help me increase my debugging on the mysql.log.
> thanks very much for your help.

This should be in your my.conf - but I can't guarantee it.  Google your distribution and look for something relevant.

http://www.electrictoolbox.com/logging-queries-with-mysql/

But you need to make sure you can actually connect to the mysql server first though since that's what the error message says the problem is.

Simon




-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]