From: Guillaume Lelarge <guillaume@lelarge.info>
To: Jaroslav Záruba <jaroslav.zaruba@gmail.com>
Cc: PostgreSQL - mailing list <pgsql-admin@postgresql.org>
Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user?
Date: Thu, 24 Mar 2011 09:56:56 +0100
Message-ID: <4D8B0758.8020707@lelarge.info> (raw)
In-Reply-To: <AANLkTimOCKtEDALf+TtRUTk+JAjsgRShJb0GA90v5F3p@mail.gmail.com>
References: <AANLkTikR5sO5zYYRpNOTLUS+jUdrJKUT-vPTMgm4b88=@mail.gmail.com>
<4D8AFABB.1010002@lelarge.info>
<AANLkTimOCKtEDALf+TtRUTk+JAjsgRShJb0GA90v5F3p@mail.gmail.com>
Please, answer to the list.
Le 24/03/2011 09:13, Jaroslav Záruba a écrit :
> Yes, it is the password for PostgreSQL.
>
> pg_dump: [archiver (db)] connection to database "db123" failed: FATAL:
> password authentication failed for user "postgres"
> FATAL: password authentication failed for user "postgres"
>
The error message says the authentication method used isn't trust. Can
you tell us the complete content of your pg_hba.conf (without the
comments of course), and the exact command lines (the one that work and
the one that doesn't work).
--
Guillaume
http://www.postgresql.frhttp://dalibo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: guillaume@lelarge.info, jaroslav.zaruba@gmail.com
Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user?
In-Reply-To: <4D8B0758.8020707@lelarge.info>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox