Skip to content

psql: FATAL: password authentication failed for user "postgres" #112

Open
@StephanMeijer

Description

@StephanMeijer
$ sudo docker run --name postgresql -itd --restart always --env 'PG_PASSWORD=postgres' --env 'PG_TRUST_LOCALNET=true' --publish 5432:5432 --volume /srv/docker/postgresql:/var/lib/postgresql sameersbn/postgresql:9.6-2 59edeb353dec8c503a7f8d86396decfcdb31b98a3b463c3e9c990083fb4dc59e 
$ psql -Upostgres -hlocalhost Password for user postgres: psql: FATAL: password authentication failed for user "postgres" 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions