An implementation of a MySQL proxy server built on top of tokio-core
. Tested with rustc 1.13.0-nightly (cbe4de78e 2016-09-05)
.
First, run the server
$ cargo run --example proxy
...
Listening for MySQL proxy connections on 127.0.0.1:3307
Then in a separate window you can test out the proxy. The proxy currently assumes that a MySQL server is running on port 3306.
$ mysql -u root -p -h 127.0.0.1 -P 3307
mysql-proxy-rs
is distributed under the terms of the Apache License (Version 2.0).
See LICENSE-APACHE for details.