The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

477220 (1) [Avatar] Offline
#1
Hi,
I enjoy very much the book and I 'm coding along with the reading. But I got stuck in chapter 7 trying to setting the ecto database. I keep getting the same error message: "function Ecto.Adapters.Postgres.Connection.execute/4 is undefined (module Ecto.Adapters.Postgres.Connection is not available)".
I would like to be sure to have the correct settings in my config.exs files and mix.exs files.
Could you please provide a code bundle or a gist so that we are able to check properly?
Thanks
Once again...great book!
302591 (1) [Avatar] Offline
#2
Hi, I bumped into this as well and somehow managed to fix it by downgrading postgrex. Do you have the very same postgrex version as in the book?