文章目录
一、下载传输解压
下载网络上的资源
wget http://download.pingcap.org/tidb-latest-linux-amd64.tar.gz
wget http://download.pingcap.org/tidb-latest-linux-amd64.sha256
然后用scp命令传到server1里面
scp tidb-latest-linux-amd64.sha256 tidb-latest-linux-amd64.tar.gz 172.25.32.1:/mnt
然后在1中,验证完整性
sha256sum -c tidb-latest-linux-amd64.sha256
tar zxf tidb-latest-linux-amd64.tar.gz
cd tidb-v5.0.1-linux-amd64/
cd /bin
ls
然后开始编辑
cd …
vim config.toml
在这里面编写
https://github.com/pingcap/tidb/blob/master/config/config.toml.example
这个连接里面的
然后把端口改为3306
<