(Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user “postgres”

I tried your method of logging into psql then using password and another time by alter statement.