Why password authentication failed for user "postgres"? - Mailing list pgsql-general

From BeginnerC
Subject Why password authentication failed for user "postgres"?
Date
Msg-id TYAP286MB06367FE5D4BB0EE26F8D313FA9A19@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Why password authentication failed for user "postgres"?
Re: Why password authentication failed for user "postgres"?
Re: Why password authentication failed for user "postgres"?
List pgsql-general
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!

pgsql-general by date:

Previous
From: Jeff Ross
Date:
Subject: Re: Logically replicated table has no visible rows
Next
From: Reid Thompson
Date:
Subject: Re: Why password authentication failed for user "postgres"?