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)

相关推荐
Edingbrugh.南空3 天前
Flink TiDB CDC 环境配置与验证
大数据·flink·tidb
奔跑的蜗牛AZ13 天前
TiDB 字符串行转列与 JSON 数据查询优化知识笔记
笔记·json·tidb
莱茵不哈哈16 天前
DB面试题
数据库·tidb·etcd
微风轻吟挽歌1 个月前
TIDB创建索引失败 mkdir /tmp/tidb/tmp_ddl-4000/1370: no such file or directory.
数据库·oracle·tidb
Lucifer三思而后行1 个月前
深入解析分布式数据库TiDB:原理、优化与架构实践
数据库·分布式·tidb
TiDB 社区干货传送门2 个月前
从开发者角度看数据库架构进化史:JDBC - 中间件 - TiDB
数据库·oracle·中间件·tidb·数据库架构
TiDB 社区干货传送门2 个月前
从40秒到11毫秒:TiDB环境下一次SQL深潜优化实战
数据库·sql·tidb
赵渝强老师2 个月前
【赵渝强老师】TiDB SQL层的工作机制
数据库·sql·tidb
观测云2 个月前
TiDB 可观测性最佳实践
tidb
赵渝强老师2 个月前
【赵渝强老师】使用TiDB的审计日志
数据库·tidb