随笔 - 404  文章 - 4  评论 - 0  阅读 - 25万

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 ~]$ 
topology.yaml
复制代码

 

 

 

[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)]>

 

posted on   HelonTian  阅读(130)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源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'
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示