From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Нурдаулет Лесбек <lokiodinson72(at)gmail(dot)com>, pgsql-www(at)lists(dot)postgresql(dot)org |
Subject: | Re: |
Date: | 2022-10-28 15:08:51 |
Message-ID: | 4d50b590-e44e-1f28-34ab-526c52904e53@aklaver.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On 10/28/22 03:00, Нурдаулет Лесбек wrote:
> Hi!
> I'm forget the administrator's (root) password from PostgreSQL server.
> How can I restore it?
> Please, help me!
1) The appropriate list for this sort of question is pgsql-general:
https://www.postgresql.org/list/pgsql-general/
2) In addition to Christophe's suggestion:
Check your pg_hba.conf file for a uncommented line like:
local all postgres trust
If it is there then you can on the server machine do:
psql -d database -U postgres
to make a local connection via socket without a password.
If it is not there then add it and reload the server settings.
>
> Kind regards
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas 'ads' Scherbaum | 2022-10-29 09:38:42 | Re: Button for "Community account sign-in" is not visible |
Previous Message | Christophe Pettus | 2022-10-28 10:03:38 | Re: |