[Qt-interest] How Can I configure qpsql driver to accept md5 password auth ...

Roland Hieber rohieb at rohieb.name
Tue Apr 6 19:43:24 CEST 2010


Mhayk Whandson wrote:
> Hi all,
> 
> I would like to auth with postgres using the password in md5. I know
> that have the method SetConnectOptions but I didn't find any
> documentation in the internet about the paramenters:
> 
>     * connect_timeout
>     * options
>     * tty
>     * requiressl
>     * service
> 
> How can I configure to access the password in md5 format ?

AFAIR, this has to be done on the server side, in pg_hba.conf. See
http://www.postgresql.org/docs/8.4/static/client-authentication.html for an
explanation.

Regards,
Roland Hieber




More information about the Qt-interest-old mailing list