tidb安装 centos7单机集群

安装

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

相关推荐
PingCAP2 小时前
平凯数据库 × 圣诺云数:让治理数据实时可用、跨域可信流通
数据库·tidb
PingCAP2 小时前
挚文集团(陌陌、探探)从 MySQL 分库分表到 TiDB 实时统一架构的实践
数据库·tidb
PingCAP8 天前
凌晨时分,几十万亿资产开始对账:某国有大行为什么把托管核心换成 TiDB
tidb
PingCAP8 天前
某国有大型银行A+级资产托管核心系统从 Oracle 到平凯数据库的国产化实践
tidb
PingCAP14 天前
几十万亿资产对账:某国有大行托管核心换成 TiDB
tidb