Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-side Handler #86

Open
kirmorozov opened this issue Dec 27, 2022 · 1 comment
Open

Server-side Handler #86

kirmorozov opened this issue Dec 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kirmorozov
Copy link

We have an outstanding client here.
Encoding, decoding is here.

Applications:

  • Mysql to other db proxy
  • Fake/mock database. prevent alterations.
  • Personal data filtering proxy, etc
  • Access other resources using Mysql protocol, which is very well adopted.

Solution
Provide server-side handler

Describe alternatives you've considered
Implementations from other languages
https://github.com/jonhoo/msql-srv Rust
https://github.com/kelsin/mysql-mimic Python
https://github.com/ClickHouse/ClickHouse/blob/fbff52847cf591ff0617721cd3483ccadc313634/src/Server/MySQLHandler.h c++

Similar implementations
https://github.com/jonhoo/msql-srv/blob/master/examples/psql_as_mysql.rs

@kirmorozov kirmorozov added the enhancement New feature or request label Dec 27, 2022
@patrick-zippenfenig
Copy link

This feature could be very interesting for my application (historical weather API to serve a lot of data and reuse existing data visualisation tools with MySQL support).

Are there any good starting points? Any larger roadblocks in sight? Add encode/decode functionality to all MySQL binary messages, setup the channel handler and hope for the best? ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants