TiDB5.4集群部署
编辑 topology.yaml

1 [tidb@test11 ~]$ cat topology.yaml 2 global: 3 user: "tidb" 4 ssh_port: 22 5 deploy_dir: "/data/tidb-deploy" 6 data_dir: "/data/tidb-data" 7 # arch: "amd64" 8 monitored: 9 node_exporter_port: 9100 10 blackbox_exporter_port: 9115 11 pd_servers: 12 - host: 10.172.32.101 13 - host: 10.172.32.102 14 - host: 10.172.32.103 15 tidb_servers: 16 - host: 10.172.32.101 17 - host: 10.172.32.102 18 - host: 10.172.32.103 19 tikv_servers: 20 - host: 10.172.32.104 21 - host: 10.172.32.105 22 - host: 10.172.32.106 23 tiflash_servers: 24 - host: 10.172.32.107 25 - host: 10.172.32.108 26 monitoring_servers: 27 - host: 10.172.32.109 28 grafana_servers: 29 - host: 10.172.32.110 30 alertmanager_servers: 31 - host: 10.172.32.111 32 [tidb@test11 ~]$
[tidb@test11 ~]$ mysql -uroot -h10.172.32.101 -P4000 -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 135
Server version: 5.7.25-TiDB-v5.4.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 5.7 compatible
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| INFORMATION_SCHEMA |
| METRICS_SCHEMA |
| PERFORMANCE_SCHEMA |
| mysql |
| test |
+--------------------+
5 rows in set (0.00 sec)
MySQL [(none)]>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
2021-04-10 Rhel7.2离线安装setuptools、pip
2018-04-10 【GoldenGate管理】源端和目标端新增加复制表
2018-04-10 【案例】ORA-02298
2018-04-10 ORA-01578: ORACLE 数据块损坏 (文件号 10, 块号 57896)ORA-01110: 数据文件 10: '/data/oradata/prod35.dbf'