Page 1 of 1

Peer authentication failed for user "user" error

Posted: Tue Sep 01, 2015 2:15 pm
by gautamz07
I was just reading through thishttp://workshop.pgrouting.org/chapters/ ... #pgrouting tutorial and basically when i tried to executed the following command:

Code: Select all

psql -U user
I get the following error :

Code: Select all

Peer authentication failed for user "user".
Any idea why ?

Re: Peer authentication failed for user "user" error

Posted: Tue Sep 01, 2015 3:13 pm
by requinix
Did you update your pg_hba.conf as they say in section 3.1? And then restart PostgreSQL?