Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altenwald/myproto
MySQL Server Protocol in Erlang
https://github.com/altenwald/myproto
erlang mysql-connection mysql-protocol
Last synced: about 1 month ago
JSON representation
MySQL Server Protocol in Erlang
- Host: GitHub
- URL: https://github.com/altenwald/myproto
- Owner: altenwald
- License: lgpl-2.1
- Created: 2013-02-08T20:04:49.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T00:02:42.000Z (over 2 years ago)
- Last Synced: 2024-10-04T06:19:31.786Z (3 months ago)
- Topics: erlang, mysql-connection, mysql-protocol
- Language: Erlang
- Size: 1.23 MB
- Stars: 69
- Watchers: 11
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# myproto #
Copyright (c) 2013-2022 Altenwald
__Authors:__ "Manuel Rubio" ([`[email protected]`](mailto:[email protected])).
[![Build Status](https://img.shields.io/github/workflow/status/altenwald/myproto/check)](https://github.com/altenwald/myproto/actions)
[![Codecov](https://img.shields.io/codecov/c/github/altenwald/myproto.svg)](https://codecov.io/gh/altenwald/myproto)
[![License: EPL 1.1](https://img.shields.io/github/license/altenwald/myproto.svg)](https://raw.githubusercontent.com/altenwald/myproto/master/COPYING)
[![Hex](https://img.shields.io/hexpm/v/myproto.svg)](https://hex.pm/packages/myproto)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 19.3+:
| Erlang Version | Support | Notes |
|:---|:---:|:---|
| 22.2 | :heavy_check_mark: | Recommended if you use OTP 22 |
| 22.1 | :heavy_check_mark: | |
| 22.0 | :heavy_check_mark: | |
| 21.3 | :heavy_check_mark: | Recommended if you use OTP 21 |
| 21.2 | :heavy_check_mark: | |
| 21.1 | :heavy_check_mark: | |
| 21.0 | :heavy_check_mark: | |
| 20.3 | :heavy_check_mark: | Recommended if you use OTP 20 |
| 20.2 | :heavy_check_mark: | |
| 20.1 | :heavy_check_mark: | |
| 20.0 | :heavy_check_mark: | |
| 19.3 | :heavy_check_mark: | Recommended if you use OTP 19 |### Usage ###
If you want to use, only add this in rebar.config:
```erlang
{deps, [
{myproto, "0.4.0"}
]}.```
### Configuration ###
For configuration you can check [configure and running](http://github.com/altenwald/myproto/blob/master/doc/config.md) entry.## Modules ##
gen_myproto
my_acceptor
my_datatypes
my_packet
my_request
my_response
myproto_app