安装
root@localhost \~\]# curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh \| sh \[root@localhost \~\]# source .bash_profile \[root@localhost \~\]# which tiup \[root@localhost \~\]# tiup playground v6.1.0 --db 2 --pd 3 --kv 3 --host 192.168.1.128 ### 效果: 注意,要关防火墙 #systemctl stop firewalld #systemctl disable firewalld ```bash Connect TiDB: mysql --comments --host 192.168.1.128 --port 4001 -u root Connect TiDB: mysql --comments --host 192.168.1.128 --port 4000 -u root TiDB Dashboard: http://192.168.1.128:2379/dashboard Grafana: http://192.168.1.128:3000 ``` 也可以连4001  