Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexniver/1876db101b2bd7f505d6 to your computer and use it in GitHub Desktop.
Save alexniver/1876db101b2bd7f505d6 to your computer and use it in GitHub Desktop.
话说直接按文档走是会有问题的.

###系统: ubuntu14.04阿里云. ###已经安装docker

run continer

docker run -ti vitess/base bash

##pull完,跑起来之后,会进入到命令行. 这时执行命令

make build

##声明使用的数据库

export MYSQL_FLAVOR=MariaDB
or
export MYSQL_FLAVOR=MySQL56

##声明数据库安装路径(这里是安装的根目录,不是可执行文件)

export VT_MYSQL_ROOT=/usr/local/mysql
or
export VT_MYSQL_ROOT=/usr/share/mysql

##确认mysql版本是5.6以上的

mysql_config --version

执行bootstart.sh

./bootstart.sh

目前卡住了. 因为需要下载的东西貌似下载不了, 还要继续研究docker如何翻墙.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment