MySQL/MariaDB protocol shim for Noria
Switch branches/tags
Nothing to show
Clone or download
ms705 View columns carry the view's name
Avoids a crash when trying to find a base table parameter column
specified in the query in the set of columns available on the view.
Latest commit 2a57fdb Nov 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src View columns carry the view's name Nov 28, 2018
tests Fix integration tests Nov 26, 2018
.gitignore gitignore Dec 14, 2017
.travis.yml Update nightly for Travis too Nov 26, 2018
Cargo.lock Bump dependencies Nov 26, 2018
Cargo.toml Back to upstream Noria Nov 26, 2018
LICENSE Initial commit Dec 14, 2017 Better deployment ID documentation Oct 8, 2018
rust-toolchain Use same nightly as Noria Nov 26, 2018
rustfmt.toml Correct rustfmt config for recent versions Nov 22, 2018

Noria MySQL adapter

This repository contains the MySQL/MariaDB protocol adapter for Noria. The adapter allows legacy applications that use parameterized MySQL queries to directly start using Noria, with no or minimal source code changes.

Running the adapter

To run the adapter and listen on the default MySQL port (3306), simply type:

$ cargo run --release -- --deployment $NORIA_DEPLOYMENT_ID

The NORIA_DEPLOYMENT_ID is the same deployment ID you used when starting the Noria server.

If you would like to use a different port (e.g., because you're also running a MySQL server), pass -p <PORT>.

Connecting to Noria

The MySQL adapter uses ZooKeeper to find the Noria server. To specify the ZooKeeper server location, pass the -z argument:

$ cargo run --release -- --deployment $NORIA_DEPLOYMENT_ID -z

... for a ZooKeeper listening on port 2181 at IP