When you use Erlang through Elixir, you need to call the Erlang module as follows:
{:ok, client} = :cqerl.new_client({})
If you want to call Cassandra using a specific address, you can create a new client, as described in the cqerl documentation:
{:ok, client} = :cqerl.new_client({"127.0.0.1", 9042})
, ( , env , git):
{:ok, client} = :cqerl.new_client({"127.0.0.1", 9042}, , [{auth, {cqerl_auth_plain_handler, [{"Your-Username", "Your-Password"}]}}])