'Connection to Postgres in Windows powershell
When I try to connect to postgres in windows powersehll I get the error:
error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "user"
But I can connect correctly through wsl (Windows Subsystem for Linux).
BTW I use the following command
$ psql -U user
and postgres is installed in container with Docker.
What can be wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|