Re: Password forgotten

From: Hans Schou <hans(dot)schou(at)gmail(dot)com>
To: Arbol One <ArbolOne(at)hotmail(dot)ca>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Password forgotten
Date: 2024-04-23 12:18:43
Message-ID: CAApBw36c+uKOcSeqz4wLYDU7d+VKv0DcXwMO+VQ3KTWLA79PFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Have you tried

sudo -u postgres psql

On Tue, Apr 23, 2024 at 2:14β€―PM Arbol One <ArbolOne(at)hotmail(dot)ca> 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?
>
> Thanks in advance.
>
>
> --
> *ArbolOne.ca* Using Fire Fox and Thunderbird. ArbolOne is composed of
> students and volunteers dedicated to providing free services to charitable
> organizations. ArbolOne on Java Development is in progress [ Γ­ ]
>

--
π•³π–†π–“π–˜ π•Ύπ–ˆπ–π–”π–š
☏ ➁➁ βž…βžƒ βž‡β“ͺ ➁β“ͺ

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcos Pegoraro 2024-04-23 12:41:25 Re: query multiple schemas
Previous Message Arbol One 2024-04-23 12:14:15 Password forgotten