public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Arbol One <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Password forgotten
Date: Tue, 23 Apr 2024 06:27:00 -0700
Message-ID: <CAKFQuwa1n3qAsZOZ6bq+3gKYC=C_BEaiV9+E4_RE=swROV147Q@mail.gmail.com> (raw)
In-Reply-To: <DM8PR02MB79426EC52D426F6E42B33757BA112@DM8PR02MB7942.namprd02.prod.outlook.com>
References: <DM8PR02MB79426EC52D426F6E42B33757BA112@DM8PR02MB7942.namprd02.prod.outlook.com>
On Tuesday, April 23, 2024, Arbol One <[email protected]> wrote:
> Hello.
> In my Debian box, after entering this command to psql-16, *psql -h
> localhost -U postgres*
>
> psql-16 asks for the password, which I have forgotten.
> So I get this message:
>
>
>
> *psql: error: connection to server at "localhost" (::1), port 5432 failed:
> FATAL: password authentication failed for user "postgres" connection to
> server at "localhost" (::1), port 5432 failed: FATAL: password
> authentication failed for user "postgres" *
>
> Is there a way I can retrieve this master password?
>
Nope. You need to login using a method that doesn’t require a password
then change the password. See pg_hba.conf for authentication options.
Usually connecting via local and peer authentication is the default option.
David J.
view thread (2+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Password forgotten
In-Reply-To: <CAKFQuwa1n3qAsZOZ6bq+3gKYC=C_BEaiV9+E4_RE=swROV147Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox