I’m doing it this way, and returned the error below ![]()
{:ok, p} = Mariaex.start_link(username: "username", database: "database", password: "password", hostname: "hostname")
Mariaex.execute(p, "query", [], pool_timeout: 60_000, timeout: 60_000)
** (FunctionClauseError) no function clause matching in Mariaex.execute/4
(mariaex) lib/mariaex.ex:239: Mariaex.execute(#PID<0.268.0>, "query", [], [pool_timeout: 60000, timeout: 60000])
And before with Mariex.query gave this problem
[error] Mariaex.Protocol (#PID<0.268.0>) disconnected: ** (Mariaex.Error) [tcp] `recv` failed with: :timeout
{:error,
%Mariaex.Error{action: "recv", connection_id: #PID<0.268.0>, mariadb: nil,
message: nil, reason: :timeout, tag: :tcp}}
Thanks for the answer @voughtdq


















