Bootstrap FreeKB - Postgres (SQL) - Resolve "Peer authentication failed for user"
Postgres (SQL) - Resolve "Peer authentication failed for user"

Updated:   |  Postgres (SQL) articles

Let's say something like this is being returned.

psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  Peer authentication failed for user "johndoe"

 

In this example, the error is occur with user account johndoe. This assumes you have:




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 317429 in the box below so that we can be sure you are a human.