Can't get start_link to connect using postgrex

I am attempting to use Postgrex to connect to a PostgreSQL compatible dbase and cannot get start_link to work. I can access and link to dbase using PSQL in terminal. But following errors happen when trying to access through postgrex. I appreciate any thoughts !!

Getting the following error:

iex(1)> {:ok, pid} = Postgrex.start_link(hostname: "localhost", username: "postgres", password: "postgres", d
atabase: "postgres")

** (EXIT from #PID<0.220.0>) shell process exited with reason: exited in: GenServer.call(DBConnection.Watcher, {:watch, DBConnection.ConnectionPool.Supervisor, {DBConnection.ConnectionPool.Pool, {#PID<0.222.0>, #Reference<0.555474374.3344826369.140676>, Postgrex.Protocol, [types: Postgrex.DefaultTypes, hostname: "localhost", username: "postgres", password: "postgres", database: "postgres"]}}}, :infinity)
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name

Here is the MIX dep


def deps do
[
{:httpoison, “~> 1.8”},
{:jason, “~> 1.3”},
{:postgrex, “~> 0.1”}
]
end

What version of postgrex are you actually running? Can you check the mix.lock file? Latest is 0.17.3.

The code should work, it’s identical to the lines in the readme…

It was an older version. Works now after upgrade ! Thank you!!