當試圖運行mix ecto.create
我得到了以下錯誤:無法混合ecto.create。多個錯誤
.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
什麼是Postgres的,必須以正確設置鳳凰符合條件?
不錯!另一種方法:)雖然問題中的錯誤消息特別提到了postgres角色 – jaysoifer