我已经将文件配置为使用mysql作为postgressql的默认数据库,并且在创建数据库时显示以下错误
C:\Users\kusuma\.mix\hello_phoenix>mix ecto.create
warning: found quoted keyword "test" but the quotes are not required. Note that keywords are always atoms, eve
n when quoted, and quotes should only be used to introduce keywords with foreign characters in them
mix.exs:57
19:44:31.427 [error] GenServer #PID<0.196.0> terminating
(Mariaex.Error) tcp connect: econnrefused
(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: Mariaex.Protocol
(Mix) The database for HelloPhoenix.Repo couldn't be created: tcp connect: econnrefused
提前谢谢
暂无答案!
目前还没有任何答案,快来回答吧!