Phoenix ecto.create无效密码

时间:2018-10-18 23:48:05

标签: postgresql installation passwords elixir

warning: found quoted keyword "test" but the quotes are not required. Note that 
keywords are always atoms, even when quoted, and quotes should only be used to 
introduce keywords with foreign characters in them
  mix.exs:57


19:39:28.158 [error] GenServer #PID<0.203.0> terminating
** (Postgrex.Error) FATAL 28P01 (invalid_password): password authentication failed for 
user "postgres"
    (db_connection) lib/db_connection/connection.ex:163: 
DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: nil
State: Postgrex.Protocol
** (Mix) The database for Magnus.Repo couldn't be created: FATAL 28P01 
(invalid_password): password authentication failed for user "postgres"

我已经两次重新安装了postgresql,并且每次都将PATH更改为新路径。我可以在deps.exs中确认默认密码为“ postgres”及其密码。尚未找到解决方案。任何人对什么地方有任何想法吗?

0 个答案:

没有答案