Re: Why password authentication failed for user "postgres"?

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Why password authentication failed for user "postgres"?
Дата
Msg-id CAMkU=1x4awpn554yC0Q6=DyoxaWBsyOC8sCaOOr-CRO0FiY9fg@mail.gmail.com
обсуждение исходный текст
Ответ на Why password authentication failed for user "postgres"?  (BeginnerC <chuxuec@outlook.com>)
Список pgsql-general
On Fri, Jun 3, 2022 at 6:32 PM BeginnerC <chuxuec@outlook.com> wrote:
Hello everyone,
I am a newbie to the postgres,when I use the psql to connect to the postgres,a error message printed:
These command list like this:

psql -U postgres
Password for user postgres:postgres
postgreSQL: password authentication failed for user "postgres"

How to solve this problem?
Thanks in advance!

The password you type should not be showing up as you type it, which is what you appear to be showing above.  Also, 'postgres' is a horrible password, you might as well configure 'trust' authentication if you are going to use that as a password.

Look in the db server's log file for a (possibly) more detailed error message.

Cheers,

Jeff

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Window function?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Window function?