GitXplorerGitXplorer
m

noria-mysql

public
67 stars
15 forks
5 issues

Commits

List of commits on branch master.
Verified
bfb564d40b8838a94b05459d486d919f6828e5d4

cargo update

jjonhoo committed 5 years ago
Verified
5f08a57187d8086a9eac58494a4ebbb6a2a8a76a

Bump noria + tokio-tower

jjonhoo committed 5 years ago
Verified
a3ce75c9d516224bffac16ef555849f6894b8289

Merge pull request #14 from mit-pdos/mysql-18

mms705 committed 5 years ago
Verified
b983c3238f0b1a60357780e3a96c470de5717edc

Noria reorg means path override changes

jjonhoo committed 5 years ago
Verified
f16b1a6cc5e9ab1fd8cd55bc8dcab811a2a9484b

Update tests to match mysql 18 API

jjonhoo committed 5 years ago
Verified
d5394086aff459d65fc78b98164fb6716e996578

Bump noria and friends

jjonhoo committed 5 years ago

README

The README file for this repository.

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 172.16.0.19:2181

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