Skip to content

vldbss-2021/tinyup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyUp

A TinySQL deployment tool inspired by TiUP.

Build

go build
./tinyup -h
simple cluster operation tool

Usage:
  tinyup [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  deploy      deploy a local cluster
  destroy     destroy the cluster
  help        Help about any command
  start       start the cluster
  stop        stop the cluster
  upgrade     upgrade the cluster

Flags:
  -b, --binary_path string   the binary path (default "./bin")
  -d, --deploy_path string   the deploy path (default "./bin/deploy")
  -h, --help                 help for cluster
  -n, --num int              the number of the tinykv servers (default 3)

Use "cluster [command] --help" for more information about a command.

Deploy

Before starting the cluster, deployment is required.

mkdir -p bin
cp {path-to-tinysql-binary} ./bin
cp {path-to-tinykv-binary} ./bin
cp {path-to-tinyscheduler-binary} ./bin
./tinyup deploy

Start

./tinyup start
# After the cluster is ready, use mysql-client to connect to it
mysql -h 127.0.0.1 -P4000 -uroot -Dtest

Stop

./tinyup stop

Destroy

./tinyup destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages