How to connect an elixir app to mysql 5.1 or older

my requirement is simple

how to connect to an old database like mysql 5.1, or oceanbase(based on old mysql)

I’ve tried myxql, erlang-mysql-driver, but not work

any help will be appreciated~

What specifically fails? MySQL 5.1 was released in 2008, and all vendor support ended in 2013 - a year before Elixir went 1.0 - so it’s entirely possible that Elixir database adapters won’t support it.

We don’t plan to suport this version in myxql however you might have some luck connecting to it using the built-in odbc library: Erlang -- Erlang ODBC User's Guide.