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)

相关推荐
MiniFlyZt5 天前
分布式数据库TiDB:架构、核心特性与生产实践(分库分表)
java·数据库·分布式·spring cloud·微服务·tidb
PingCAP6 天前
从单一到多活,麦当劳中国的数据库架构迁移实战
数据库·tidb
XMYX-012 天前
TiDB 部署指南(单机模式)& CentOS 7 安装 MariaDB 教程
centos·tidb·mariadb
PingCAP16 天前
从 DB-Engines 排名攀升看 TiDB 全球突破之路
数据库·人工智能·tidb
PingCAP17 天前
Dify 基于 TiDB 的数据架构重构实践
数据库·人工智能·tidb
李迟18 天前
TiDB 数据库8.1版本编译及部署
数据库·tidb
PingCAP24 天前
TiDB 亮相宜昌“医院‘云数智’技术实践研讨及成果展示交流会”,探讨国产化 + AI 背景下的数据库新趋势
数据库·人工智能·tidb
PingCAP1 个月前
TiDB 可观测性解读(二)丨算子执行信息性能诊断案例分享
数据库·tidb
七七powerful1 个月前
mysql & 磐维(opengauss)&tidb误删数据之高级恢复
数据库·mysql·tidb
蒂法就是我1 个月前
介绍一下TiDB、RocksDb、levelDB、LSM 树、SSTable。
tidb·sstable