Thank you for your reply Elji, I started form the beginning so the very first code sample 02-chp.schema\1-start fails.
I am sure I have the database started and the proper credentials.
In fact the error is really similar to https://github.com/elixir-ecto/postgrex/issues/370 but when I try to update the libraries I get in all sorts of other issues.