Im not using postgresql but mysql i added mariaex in config still the error.
config :auth, Auth.Repo,
adapter: Ecto.Adapters.MySQL,
...
config :auth,
ecto_repos: [Auth.Repo]
defp deps do
[{:ecto, "~> 2.1"},
{:mariaex, "~> 0.8.2"}]
end
im using umbrella app
Can you please provide an application that reproduces the error? Try searching for "postgrex" in your whole project and see if there is anything left.
I had postgrex installed(default by phoenix) in one of apps_web of umbrella i was calling auth from.
After i removed it and did a clean compile (mix.deps.clean && mix.deps.compile) it worked perfectly.
can you tell me where did you removed the postgrex installer ? im getting the same error
It's generally best to ask this on the forums, but in general check all of your configs to see what database type is being used.
thanks, repo.ex had "adapter: Ecto.Adapters.Postgres" by default, that was the error
mix clean && mix compile (not the mix deps.* versions) seemed to resolve this for me just now.
Most helpful comment
thanks, repo.ex had "adapter: Ecto.Adapters.Postgres" by default, that was the error