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 ![](https://file.jishuzhan.net/article/1734090285069111297/e50d03333a7e7fa328d6c3af192011d7.webp) ![](https://file.jishuzhan.net/article/1734090285069111297/4e0cbf083f7af55d89e5bc28c7b6c773.webp)![](https://file.jishuzhan.net/article/1734090285069111297/78a12958b7b963c29ae47a050f80597d.webp)

相关推荐
TiDB 社区干货传送门1 小时前
从40秒到11毫秒:TiDB环境下一次SQL深潜优化实战
数据库·sql·tidb
赵渝强老师6 天前
【赵渝强老师】TiDB SQL层的工作机制
数据库·sql·tidb
观测云14 天前
TiDB 可观测性最佳实践
tidb
赵渝强老师17 天前
【赵渝强老师】使用TiDB的审计日志
数据库·tidb
可观测性用观测云19 天前
TiDB 可观测性最佳实践
tidb
Sirius Wu19 天前
TiDB 深度解析与 K8S 实战指南
容器·kubernetes·tidb
PingCAP20 天前
PingCAP“一号员工”唐刘:回顾我与 TiDB 的十年成长之旅
数据库·tidb
转转技术团队21 天前
告别人工搬运!TiDB/MySQL双库同步工具如何为业务提效100%?
mysql·tidb·测试
MiniFlyZt1 个月前
分布式数据库TiDB:架构、核心特性与生产实践(分库分表)
java·数据库·分布式·spring cloud·微服务·tidb
PingCAP1 个月前
从单一到多活,麦当劳中国的数据库架构迁移实战
数据库·tidb