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

相关推荐
与数据交流的路上5 天前
tidb-一场select in百万参数引发的血案
java·开发语言·tidb
TiDB 社区干货传送门5 天前
TiDB 性能测试的几个优化点
tidb
TiDB 社区干货传送门5 天前
TiDB 在线打标签实现副本调度应用实践
linux·运维·服务器·tidb
国通快递驿站6 天前
助力企业信息化,开源免费工作流引擎AntFlow推出重榜功能tidb支持,为工作流引擎水平扩展提供无限可能
java·spring boot·spring·开源·tidb·activiti
PingCAP11 天前
瓜子二手车 x TiDB 丨平均耗时降低 30%,TiDB HTAP 在瓜子二手车财务中台结账核心系统的深度实践
数据库·tidb
TiDB 社区干货传送门20 天前
关于新版本 tidb dashboard API 调用说明
tidb
TiDB_PingCAP20 天前
TiDB 扩容过程中 PD 生成调度的原理及常见问题丨TiDB 扩缩容指南(一)
数据库·tidb
标准形与二次型20 天前
Windows 环境下安装、使用、nodeJs 连接 TiDB 数据库
数据库·windows·tidb
TiDB 社区干货传送门21 天前
TiDB 数据库核心原理与架构_Lesson 01 TiDB 数据库架构概述课程整理
数据库·架构·tidb·数据库架构
TiDB 社区干货传送门1 个月前
从 Oracle 到 TiDB 丨数据库资源评估指南
数据库·oracle·tidb