Postgres ident error
Today I had this particular error. psql: FATAL: Ident authentication failed for user “postgres”.
When i tried to run django’s sqlcreatedb | psql -U postgres.
To solve this i had to go to the pg_hba.conf file located in postgres directory and put trust instead of ident in the file.
local all postgres trust
local all postgres trust