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)

相关推荐
微风轻吟挽歌5 天前
TIDB创建索引失败 mkdir /tmp/tidb/tmp_ddl-4000/1370: no such file or directory.
数据库·oracle·tidb
Lucifer三思而后行16 天前
深入解析分布式数据库TiDB:原理、优化与架构实践
数据库·分布式·tidb
TiDB 社区干货传送门21 天前
从开发者角度看数据库架构进化史:JDBC - 中间件 - TiDB
数据库·oracle·中间件·tidb·数据库架构
TiDB 社区干货传送门22 天前
从40秒到11毫秒:TiDB环境下一次SQL深潜优化实战
数据库·sql·tidb
赵渝强老师1 个月前
【赵渝强老师】TiDB SQL层的工作机制
数据库·sql·tidb
观测云1 个月前
TiDB 可观测性最佳实践
tidb
赵渝强老师1 个月前
【赵渝强老师】使用TiDB的审计日志
数据库·tidb
可观测性用观测云1 个月前
TiDB 可观测性最佳实践
tidb
Sirius Wu1 个月前
TiDB 深度解析与 K8S 实战指南
容器·kubernetes·tidb
PingCAP1 个月前
PingCAP“一号员工”唐刘:回顾我与 TiDB 的十年成长之旅
数据库·tidb