Connecting to MS SQL

==> ecto
Compiling 70 files (.ex)
warning: redefining module Ecto.Adapters.SQL.Stream (current version loaded from ~/elixir_projects/hospital/_build/dev/lib/ecto_sql/ebin/Elixir.Ecto.Adapters.SQL.Stream.beam)

warning: redefining module Ecto.Adapters.MySQL (current version loaded from ~/elixir_projects/hospital/_build/dev/lib/ecto_sql/ebin/Elixir.Ecto.Adapters.MySQL.beam)

warning: redefining module Enumerable.Ecto.Adapters.SQL.Stream (current version loaded from ~/elixir_projects/hospital/_build/dev/lib/ecto_sql/ebin/Elixir.Enumerable.Ecto.Adapters.SQL.Stream.beam)

== Compilation error in file lib/ecto/adapters/mysql.ex ==
** (FunctionClauseError) no function clause matching in Keyword.fetch!/2

    The following arguments were given to Keyword.fetch!/2:

        # 1

        # 2

    Attempted function clauses (showing 1 out of 1):

        def fetch!(+keywords+, +key+) when -is_list(keywords)- and +is_atom(key)+

    (elixir) lib/keyword.ex:386: Keyword.fetch!/2
    lib/ecto/adapters/mysql.ex:118: (module)
    (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
could not compile dependency :ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile ecto", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"

Try removing deps and _build and try again.

If it doesn’t work then, please try to create a naked project on GitHub that reproduces the issue.

By removing deps and _build, are you making reference to the folders in the project?

Yes. Assuming though that you are currently in the “hospital” project…

If you are not, something else is going on that massively confuses your environment…