Git Product home page Git Product logo

noria-mysql's Introduction

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.

noria-mysql's People

Contributors

ms705 avatar jonhoo avatar ekmartin avatar fintelia avatar fussybeaver avatar harksin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.