When trying to run mix ecto.create
I got the following errors:
.Repo couldn't be created: tcp connect: connection refused - :econnrefused
.Repo couldn't be created: FATAL (invalid_authorization_specification): role "postgres" does not exist
.Repo couldn't be created: FATAL (invalid_authorization_specification): role "postgres" is not permitted to log in
What are the conditions that Postgres must meet in order to properly setup Phoenix?