myproto

MySQL Protocol Server


Keywords
erlang, mysql-connection, mysql-protocol
License
LGPL-2.1

Documentation

myproto

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

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

Build Status Codecov License: EPL 1.1

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.

Requirements

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

Erlang Version Support Notes
20.0 ✔️ Recommended if you use OTP 20
19.3 ✔️ Recommended if you use OTP 19
19.2 ✔️
19.1 ✔️
19.0 ✔️
18.3 ✔️ Recommended if you use OTP 18
18.2.1 ✔️
18.2 ✔️
18.1 ✔️
18.0 ✔️
17.5 ✔️ Recommended if you use OTP 17
17.4 ✔️
17.3 fail in SSL
17.2 no tests available in Travis-CI
17.1 ✔️
17.0 ✔️

Usage

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

  {deps, [
      {myproto, ".*", {git, "git://github.com/altenwald/myproto.git", master}}
  ]}.

Configuration

For configuration you can check configure and running entry.

Modules

gen_myproto
my_acceptor
my_datatypes
my_packet
my_request
my_response
myproto_app