/myproto

MySQL Server Protocol in Erlang

Primary LanguageErlangGNU Lesser General Public License v2.1LGPL-2.1

myproto

Copyright (c) 2013-2020 Altenwald Solutions, S.L.

Authors: "Manuel Rubio" (manuel@altenwald.com).

Build Status Codecov License: EPL 1.1 Hex

MySQL Server Protocol in Erlang. This project let you implement the MySQL protocol for your server. Throught a MySQL connection you could send queries or fake a MySQL connection to do a proxy or whatever else.

The system for tests use maps so, you have to use Erlang OTP 19.3+:

Erlang Version Support Notes
22.2 ✔️ Recommended if you use OTP 22
22.1 ✔️
22.0 ✔️
21.3  :heavy_check_mark: Recommended if you use OTP 21
21.2 ✔️
21.1 ✔️
21.0 ✔️
20.3 ✔️ Recommended if you use OTP 20
20.2 ✔️
20.1 ✔️
20.0 ✔️
19.3 ✔️ Recommended if you use OTP 19

If you want to use, only add this in rebar.config:

  {deps, [
      {myproto, "0.4.0"}
  ]}.

For configuration you can check configure and running entry.

Modules

gen_myproto
my_acceptor
my_datatypes
my_packet
my_request
my_response
myproto_app