Fix postgresql psql: FATAL: Peer authentication failed for user - 2019

Published: 20 March 2019
on channel: ATOM
6,511
27

postgresql psql: FATAL: Peer authentication failed for user
How to fixing error: Peer authentication failed for user “username”
Solution of psql: FATAL: Peer authentication failed for user “postgres" or any user.
sudo vim /etc/postgresql/10/main/pg_hba.conf
local all all peer
Change to
local all all md5


Watch video Fix postgresql psql: FATAL: Peer authentication failed for user - 2019 online, duration hours minute second in high quality that is uploaded to the channel ATOM 20 March 2019. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 6,511 times and liked it 27 visitors.