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

相关推荐
PingCAP8 天前
Agent 从 Demo 到生产,到底卡在哪?
数据库·tidb·agent
TiDB 社区干货传送门8 天前
善战者无赫赫之功:消费金融核心系统的数据库选型与升级路径
tidb·分布式数据库·消费金融·htap·数据库选型
zhoupenghui1681 个月前
TiDB数据库详解
tidb·2pc·分布式数据库架构
隔窗听雨眠2 个月前
Dify基于TiDB的数据架构重构实践:从数十万容器到统一存储的系统性演进
重构·架构·tidb
实战派K8S&DB2 个月前
如何在内网配置 TiDB 数据库 Agent
数据库·人工智能·分布式·tidb
实战派K8S&DB2 个月前
《基于 Dify + FastAPI + PyTiDB 搭建大模型驱动的 TiDB 智能运维 Agent》
运维·数据库·分布式·云原生·tidb·fastapi
NineData2 个月前
NineData 与平凯数据库(TiDB 企业版)完成产品兼容性互认证
数据库·tidb·ninedata·玖章算术·平凯数据库·产品兼容性认证·tidb企业版
wzq11_6662 个月前
ansible部署项目——基于tidb数据库安装zabbix_server
ansible·zabbix·tidb
B1538932 个月前
Day 21-Ansible 进阶与 Zabbix TiDB 迁移学习记录
ansible·zabbix·tidb