diff --git a/content/zh/docs/17.0/contributing/build-from-source.md b/content/zh/docs/17.0/contributing/build-from-source.md index bc31684f2..a0ff93537 100644 --- a/content/zh/docs/17.0/contributing/build-from-source.md +++ b/content/zh/docs/17.0/contributing/build-from-source.md @@ -126,13 +126,7 @@ _Vitess支持MySQL 5.6+和MariaDB 10.0+。我们建议使用MySQL 5.7。_ cd src/vitess.io/vitess ``` -2. 设置 `MYSQL_FLAVOR`: -```sh -# It is recommended to use MySQL56 even for MySQL 5.7 and 8.0. For MariaDB you can use MariaDB: -export MYSQL_FLAVOR=MySQL56 -``` - -3. 如果你的MYSQL数据库安装在 `/usr/bin`之外的位置, 请将`VT_MYSQL_ROOT` v变量设置为Mysql安装的根目录: +2. 如果你的MYSQL数据库安装在 `/usr/bin`之外的位置, 请将`VT_MYSQL_ROOT` v变量设置为Mysql安装的根目录: ```sh # 通过tar包安装的设置参考 @@ -144,11 +138,11 @@ export MYSQL_FLAVOR=MySQL56 请注意上述命令设置生效的前提 `mysql` 可执行文件在 `/usr/local/opt/mysql@5.7/bin/mysql`这里。 -4. 运行 `mysqld --version` 确保你使用的是 MySQL 5.7版本。 +3. 运行 `mysqld --version` 确保你使用的是 MySQL 5.7版本。 -5. 使用以下命令构建Vitess。请注意,`bootstrap.sh`脚本需要下载一些依赖项。如果您的计算机需要代理才能访问Internet,则需要设置常用的环境变量 (e.g. `http_proxy`, `https_proxy`, `no_proxy`). +4. 使用以下命令构建Vitess。请注意,`bootstrap.sh`脚本需要下载一些依赖项。如果您的计算机需要代理才能访问Internet,则需要设置常用的环境变量 (e.g. `http_proxy`, `https_proxy`, `no_proxy`). - 运行 boostrap.sh 脚本: + 运行 bootstrap.sh 脚本: ```sh BUILD_TESTS=0 ./bootstrap.sh diff --git a/content/zh/docs/17.0/get-started/local.md b/content/zh/docs/17.0/get-started/local.md index ae9d1c053..8760bb407 100644 --- a/content/zh/docs/17.0/get-started/local.md +++ b/content/zh/docs/17.0/get-started/local.md @@ -41,7 +41,6 @@ sudo update-rc.d -f apparmor remove ```bash export VTROOT=/path/to/extracted-tarball export VTTOP=$VTROOT -export MYSQL_FLAVOR=MySQL56 export VTDATAROOT=${HOME}/vtdataroot export PATH=${VTROOT}/bin:${PATH} ``` diff --git a/content/zh/docs/17.0/get-started/vagrant.md b/content/zh/docs/17.0/get-started/vagrant.md index 9c2f8e6b6..0c1f4f8fd 100644 --- a/content/zh/docs/17.0/get-started/vagrant.md +++ b/content/zh/docs/17.0/get-started/vagrant.md @@ -123,7 +123,6 @@ After completing the instructions above to [build Vitess](#build-vitess-vagrant) ```sh export VTROOT=/vagrant export VTDATAROOT=/tmp/vtdata-dev - export MYSQL_FLAVOR=MySQL56 cd "$VITESS_WORKSPACE"/examples/local ./client.sh ### example output: