Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

psql: error: connection to server at "localhost" (::1), port 5432 failed: fatal: password authentication failed for user

$ sudo -u postgres psql
password
Enter password: ...
...


$ psql -U postgres -h localhost
 
PREVIOUS NEXT
Tagged: #connection #server #port #password #authentication #failed #user
ADD COMMENT
Topic
Name
5+3 =