I am getting the password authentication failed. I've tried with METHODS peer, trust, ident. Made sure to restart or reload the conf.
sudo -u postgres psql -U postgres
Password for user postgres: psql: FATAL: password authentication failed for user "postgres"
sudo service postgresql reload
My pg_hba.conf:
# TYPE DATABASE USER ADDRESS METHOD
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust