local

command
v2.0.0-beta.1+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Local Vitess Cluster

This directory contains example scripts to bring up a Vitess cluster on your local machine, which may be useful for experimentation. These scripts can also serve as a starting point for configuring Vitess into your preferred deployment strategy or toolset.

See the Run Vitess Locally guide for instructions on using these scripts.

Documentation

Overview

client.go is a sample for using the Vitess Go SQL driver with an unsharded keyspace.

Before running this, start up a local example cluster as described in the README.md file.

Then run: vitess$ . dev.env vitess$ cd examples/local vitess/examples/local$ go run client.go -server=localhost:15991

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL