Skip to content

Commit 476afb3

Browse files
authored
*: update TiDB product names (#18520)
1 parent 1c915b0 commit 476afb3

38 files changed

+212
-212
lines changed

TOC.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- 应用开发
1919
- [概览](/develop/dev-guide-overview.md)
2020
- 快速开始
21-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
21+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
2222
- [使用 TiDB 的增删改查 SQL](/develop/dev-guide-tidb-crud-sql.md)
2323
- 示例程序
2424
- Java

develop/dev-guide-build-cluster-in-cloud.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
2-
title: 使用 TiDB Serverless 构建 TiDB 集群
3-
summary: 使用 TiDB Serverless 构建 TiDB 集群,并连接 TiDB Serverless 集群。
2+
title: 使用 TiDB Cloud Serverless 构建 TiDB 集群
3+
summary: 使用 TiDB Cloud Serverless 构建 TiDB 集群,并连接 TiDB Cloud Serverless 集群。
44
aliases: ['/zh/tidb/dev/build-cluster-in-cloud']
55
---
66

77
<!-- markdownlint-disable MD029 -->
88

9-
# 使用 TiDB Serverless 构建 TiDB 集群
9+
# 使用 TiDB Cloud Serverless 构建 TiDB 集群
1010

11-
本文将介绍如何以最快的方式开始使用 TiDB。你将创建并启动一个 [TiDB Serverless](https://www.pingcap.com/tidb-serverless/) 集群,使用 TiDB SQL 客户端,插入数据。随后将从示例程序读取出数据。
11+
本文将介绍如何以最快的方式开始使用 TiDB。你将创建并启动一个 [TiDB Cloud Serverless](https://www.pingcap.com/tidb-serverless/) 集群,使用 TiDB SQL 客户端,插入数据。随后将从示例程序读取出数据。
1212

1313
若你需要在本地计算机上启动 TiDB,请参阅[本地启动 TiDB](/quick-start-with-tidb.md)
1414

15-
## 第 1 步:创建 TiDB Serverless 集群
15+
## 第 1 步:创建 TiDB Cloud Serverless 集群
1616

1717
1. 如果你还未拥有 TiDB Cloud 账号,请先在此[注册](https://tidbcloud.com/free-trial)
1818
2. 使用你的 TiDB Cloud 账号[登录](https://tidbcloud.com/)
1919

2020
登录后,默认进入 [**Clusters**](https://tidbcloud.com/console/clusters) 页面。
2121

22-
3. 对于新注册的用户,TiDB Cloud 会自动为你创建一个 TiDB Serverless 集群 `Cluster0`。你可以使用这个默认集群进行后续操作,也可以自行创建一个新的 TiDB Serverless 集群。
22+
3. 对于新注册的用户,TiDB Cloud 会自动为你创建一个 TiDB Cloud Serverless 集群 `Cluster0`。你可以使用这个默认集群进行后续操作,也可以自行创建一个新的 TiDB Cloud Serverless 集群。
2323

24-
如果你想创建一个新的 TiDB Serverless 集群,请进行以下操作:
24+
如果你想创建一个新的 TiDB Cloud Serverless 集群,请进行以下操作:
2525

2626
1. 点击 **Create Cluster**
27-
2. **Create Cluster** 页面默认选择 **Serverless**。你可以根据需要修改集群名称、选择可用区,然后点击 **Create**。你的 TiDB Serverless 集群将于 30 秒后创建完毕。
27+
2. **Create Cluster** 页面默认选择 **Serverless**。你可以根据需要修改集群名称、选择可用区,然后点击 **Create**。你的 TiDB Cloud Serverless 集群将于 30 秒后创建完毕。
2828

2929
4. 点击目标集群名称,进入集群概览页面,然后点击右上角的 **Connect** 按钮,弹出连接对话框。
3030

@@ -34,7 +34,7 @@ aliases: ['/zh/tidb/dev/build-cluster-in-cloud']
3434

3535
> **注意:**
3636
>
37-
> 在连接到 [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless-beta) 集群时,你需要给用户名加上前缀并使用单引号包裹用户名。你可以在 [TiDB Cloud 用户名前缀](https://docs.pingcap.com/tidbcloud/select-cluster-tier#user-name-prefix) 中获得更多信息。
37+
> 在连接到 [TiDB Cloud Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-serverless) 集群时,你需要给用户名加上前缀并使用单引号包裹用户名。你可以在 [TiDB Cloud Serverless 用户名前缀](https://docs.pingcap.com/tidbcloud/select-cluster-tier#user-name-prefix) 中获得更多信息。
3838
3939
## 第 2 步:连接到集群
4040

@@ -117,8 +117,8 @@ aliases: ['/zh/tidb/dev/build-cluster-in-cloud']
117117

118118
> **注意:**
119119
>
120-
> - 在连接 TiDB Serverless 集群时,[必须使用 TLS 连接](https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters)。
121-
> - 如果你在连接时遇到问题,可阅读 [TiDB Serverless 集群安全连接](https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters) 来获得更多信息。
120+
> - 在连接 TiDB Cloud Serverless 集群时,[必须使用 TLS 连接](https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters)。
121+
> - 如果你在连接时遇到问题,可阅读 [TiDB Cloud Serverless 集群安全连接](https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters) 来获得更多信息。
122122

123123
3. 填写密码,完成登录。
124124

develop/dev-guide-create-database.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ aliases: ['/zh/tidb/dev/create-database']
1616

1717
在阅读本页面之前,你需要准备以下事项:
1818

19-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
19+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
2020
- 阅读[数据库模式概览](/develop/dev-guide-schema-design-overview.md)
2121

2222
## 什么是数据库

develop/dev-guide-create-secondary-indexes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ aliases: ['/zh/tidb/dev/create-secondary-indexes']
1212

1313
在阅读本页面之前,你需要准备以下事项:
1414

15-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
15+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
1616
- 阅读[数据库模式概览](/develop/dev-guide-schema-design-overview.md)
1717
- [创建一个数据库](/develop/dev-guide-create-database.md)
1818
- [创建表](/develop/dev-guide-create-table.md)

develop/dev-guide-create-table.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ aliases: ['/zh/tidb/dev/create-table']
1616

1717
在阅读本页面之前,你需要准备以下事项:
1818

19-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
19+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
2020
- 阅读[数据库模式概览](/develop/dev-guide-schema-design-overview.md)
2121
- [创建一个数据库](/develop/dev-guide-create-database.md)
2222

@@ -265,7 +265,7 @@ ALTER TABLE `bookshop`.`ratings` SET TIFLASH REPLICA 1;
265265

266266
> **注意:**
267267
>
268-
> 如果你的集群,不包含 TiFlash 节点,此 SQL 语句将会报错:`1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0` 你可以[使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md#第-1-步创建-tidb-serverless-集群) 来创建一个含有 TiFlash 的集群。
268+
> 如果你的集群,不包含 TiFlash 节点,此 SQL 语句将会报错:`1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0` 你可以[使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md#第-1-步创建-tidb-cloud-serverless-集群) 来创建一个含有 TiFlash 的集群。
269269
270270
随后正常进行查询即可:
271271

develop/dev-guide-delete-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ aliases: ['/zh/tidb/dev/delete-data']
1212

1313
在阅读本页面之前,你需要准备以下事项:
1414

15-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
15+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
1616
- 阅读[数据库模式概览](/develop/dev-guide-schema-design-overview.md),并[创建数据库](/develop/dev-guide-create-database.md)[创建表](/develop/dev-guide-create-table.md)[创建二级索引](/develop/dev-guide-create-secondary-indexes.md)
1717
- 需先[插入数据](/develop/dev-guide-insert-data.md)才可删除。
1818

develop/dev-guide-gui-mysql-workbench.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TiDB 是一个兼容 MySQL 的数据库。[MySQL Workbench](https://www.mysql.co
1616

1717
> **注意**
1818
>
19-
> 本文档适用于 TiDB Serverless、TiDB Dedicated 和本地部署的 TiDB。
19+
> 本文档适用于 TiDB Cloud Serverless、TiDB Cloud Dedicated 和本地部署的 TiDB。
2020
2121
## 前置需求
2222

@@ -27,15 +27,15 @@ TiDB 是一个兼容 MySQL 的数据库。[MySQL Workbench](https://www.mysql.co
2727

2828
**如果你还没有 TiDB 集群,可以按如下方式创建一个:**
2929

30-
- (推荐方式)参考[创建 TiDB Serverless 集群](/develop/dev-guide-build-cluster-in-cloud.md),创建一个 TiDB Cloud 集群。
30+
- (推荐方式)参考[创建 TiDB Cloud Serverless 集群](/develop/dev-guide-build-cluster-in-cloud.md),创建一个 TiDB Cloud 集群。
3131
- 参考[部署本地测试 TiDB 集群](/quick-start-with-tidb.md#部署本地测试集群)[部署正式 TiDB 集群](/production-deployment-using-tiup.md),创建一个本地集群。
3232

3333
## 连接到 TiDB
3434

3535
根据你选择的 TiDB 部署方式连接到 TiDB 集群。
3636

3737
<SimpleTab>
38-
<div label="TiDB Serverless">
38+
<div label="TiDB Cloud Serverless">
3939

4040
1. 在 TiDB Cloud 的 [**Clusters**](https://tidbcloud.com/console/clusters) 页面中,点击你目标集群的名字,进入集群的 **Overview** 页面。
4141

@@ -64,20 +64,20 @@ TiDB 是一个兼容 MySQL 的数据库。[MySQL Workbench](https://www.mysql.co
6464
- **Hostname**:输入从 TiDB Cloud 连接对话框中的得到的 `HOST` 参数。
6565
- **Port**:输入从 TiDB Cloud 连接对话框中的得到的 `PORT` 参数。
6666
- **Username**:输入从 TiDB Cloud 连接对话框中的得到的 `USERNAME` 参数。
67-
- **Password**:点击 **Store in Keychain ...****Store in Vault**,输入 TiDB Serverless 集群的密码,然后点击 **OK** 保存密码。
67+
- **Password**:点击 **Store in Keychain ...****Store in Vault**,输入 TiDB Cloud Serverless 集群的密码,然后点击 **OK** 保存密码。
6868

69-
![MySQL Workbench: store the password of TiDB Serverless in keychain](/media/develop/mysql-workbench-store-password-in-keychain.png)
69+
![MySQL Workbench: store the password of TiDB Cloud Serverless in keychain](/media/develop/mysql-workbench-store-password-in-keychain.png)
7070

7171
下图显示了连接参数的示例:
7272

73-
![MySQL Workbench: configure connection settings for TiDB Serverless](/media/develop/mysql-workbench-connection-config-serverless-parameters.png)
73+
![MySQL Workbench: configure connection settings for TiDB Cloud Serverless](/media/develop/mysql-workbench-connection-config-serverless-parameters.png)
7474

75-
7. 点击 **Test Connection** 以验证与 TiDB Serverless 集群的连接。
75+
7. 点击 **Test Connection** 以验证与 TiDB Cloud Serverless 集群的连接。
7676

7777
8. 如果连接测试成功,你可以看到 **Successfully made the MySQL connection** 信息。点击 **OK** 保存连接配置。
7878

7979
</div>
80-
<div label="TiDB Dedicated">
80+
<div label="TiDB Cloud Dedicated">
8181

8282
1. 在 TiDB Cloud 的 [**Clusters**](https://tidbcloud.com/console/clusters) 页面中,点击你目标集群的名字,进入集群的 **Overview** 页面。
8383

@@ -99,20 +99,20 @@ TiDB 是一个兼容 MySQL 的数据库。[MySQL Workbench](https://www.mysql.co
9999
- **Hostname**: 输入从 TiDB Cloud 连接对话框中的得到的 `HOST` 参数。
100100
- **Port**:输入从 TiDB Cloud 连接对话框中的得到的 `PORT` 参数。
101101
- **Username**:输入从 TiDB Cloud 连接对话框中的得到的 `USERNAME` 参数。
102-
- **Password**:点击 **Store in Keychain ...**,输入 TiDB Dedicated 集群的密码,然后点击 **OK** 保存密码。
102+
- **Password**:点击 **Store in Keychain ...**,输入 TiDB Cloud Dedicated 集群的密码,然后点击 **OK** 保存密码。
103103

104-
![MySQL Workbench: store the password of TiDB Dedicated in keychain](/media/develop/mysql-workbench-store-dedicated-password-in-keychain.png)
104+
![MySQL Workbench: store the password of TiDB Cloud Dedicated in keychain](/media/develop/mysql-workbench-store-dedicated-password-in-keychain.png)
105105

106106
下图显示了连接参数的示例:
107107

108-
![MySQL Workbench: configure connection settings for TiDB Dedicated](/media/develop/mysql-workbench-connection-config-dedicated-parameters.png)
108+
![MySQL Workbench: configure connection settings for TiDB Cloud Dedicated](/media/develop/mysql-workbench-connection-config-dedicated-parameters.png)
109109

110-
6. 点击 **Test Connection** 以验证与 TiDB Dedicated 集群的连接。
110+
6. 点击 **Test Connection** 以验证与 TiDB Cloud Dedicated 集群的连接。
111111

112112
7. 如果连接测试成功,你可以看到 **Successfully made the MySQL connection** 信息。点击 **OK** 保存连接配置。
113113

114114
</div>
115-
<div label="TiDB Self-Hosted">
115+
<div label="本地部署 TiDB">
116116

117117
1. 启动 MySQL Workbench,并点击 **MySQL Connections** 标题旁边的 **+**
118118

@@ -126,11 +126,11 @@ TiDB 是一个兼容 MySQL 的数据库。[MySQL Workbench](https://www.mysql.co
126126
- **Username**:输入用于连接到 TiDB 的用户名。
127127
- **Password**:点击 **Store in Keychain ...**,输入用于连接 TiDB 集群的密码,然后点击 **OK** 保存密码。
128128

129-
![MySQL Workbench: store the password of TiDB Self-Hosted in keychain](/media/develop/mysql-workbench-store-self-hosted-password-in-keychain.png)
129+
![MySQL Workbench: store the password of TiDB Self-Managed in keychain](/media/develop/mysql-workbench-store-self-hosted-password-in-keychain.png)
130130

131131
下图显示了连接参数的示例:
132132

133-
![MySQL Workbench: configure connection settings for TiDB Self-Hosted](/media/develop/mysql-workbench-connection-config-self-hosted-parameters.png)
133+
![MySQL Workbench: configure connection settings for TiDB Self-Managed](/media/develop/mysql-workbench-connection-config-self-hosted-parameters.png)
134134

135135
3. 点击 **Test Connection** 以验证与本地部署 TiDB 集群的连接。
136136

develop/dev-guide-gui-navicat.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TiDB 是一个兼容 MySQL 的数据库。[Navicat](https://www.navicat.com) 是
1616

1717
> **注意**
1818
>
19-
> 本文档适用于 TiDB Serverless、TiDB Dedicated 和本地部署的 TiDB。
19+
> 本文档适用于 TiDB Cloud Serverless、TiDB Cloud Dedicated 和本地部署的 TiDB。
2020
2121
## 前置需求
2222

@@ -28,15 +28,15 @@ TiDB 是一个兼容 MySQL 的数据库。[Navicat](https://www.navicat.com) 是
2828

2929
**如果你还没有 TiDB 集群,可以按如下方式创建一个:**
3030

31-
- (推荐方式)参考[创建 TiDB Serverless 集群](/develop/dev-guide-build-cluster-in-cloud.md),创建一个 TiDB Cloud 集群。
31+
- (推荐方式)参考[创建 TiDB Cloud Serverless 集群](/develop/dev-guide-build-cluster-in-cloud.md),创建一个 TiDB Cloud 集群。
3232
- 参考[部署本地测试 TiDB 集群](/quick-start-with-tidb.md#部署本地测试集群)[部署正式 TiDB 集群](/production-deployment-using-tiup.md),创建一个本地集群。
3333

3434
## 连接到 TiDB
3535

3636
根据你选择的 TiDB 部署方式连接到 TiDB 集群。
3737

3838
<SimpleTab>
39-
<div label="TiDB Serverless">
39+
<div label="TiDB Cloud Serverless">
4040

4141
1. 在 TiDB Cloud 的 [**Clusters**](https://tidbcloud.com/console/clusters) 页面中,点击你目标集群的名字,进入集群的 **Overview** 页面。
4242

@@ -65,20 +65,20 @@ TiDB 是一个兼容 MySQL 的数据库。[Navicat](https://www.navicat.com) 是
6565
- **Host**:输入从 TiDB Cloud 连接对话框中的得到的 `HOST` 参数。
6666
- **Port**:输入从 TiDB Cloud 连接对话框中的得到的 `PORT` 参数。
6767
- **User Name**:输入从 TiDB Cloud 连接对话框中的得到的 `USERNAME` 参数。
68-
- **Password**:输入 TiDB Serverless 集群的密码。
68+
- **Password**:输入 TiDB Cloud Serverless 集群的密码。
6969

70-
![Navicat: configure connection general panel for TiDB Serverless](/media/develop/navicat-connection-config-serverless-general.png)
70+
![Navicat: configure connection general panel for TiDB Cloud Serverless](/media/develop/navicat-connection-config-serverless-general.png)
7171

7272
7. 点击 **SSL** 选项卡,选择 **Use SSL****Use authentication** 以及 **Verify server certificate against CA** 复选框。并在 **CA Certificate** 字段中填入从 TiDB Cloud 连接对话框中获取的 `CA` 文件路径。
7373

74-
![Navicat: configure connection SSL panel for TiDB Serverless](/media/develop/navicat-connection-config-serverless-ssl.png)
74+
![Navicat: configure connection SSL panel for TiDB Cloud Serverless](/media/develop/navicat-connection-config-serverless-ssl.png)
7575

76-
8. 点击 **Test Connection** 以验证与 TiDB Serverless 集群的连接。
76+
8. 点击 **Test Connection** 以验证与 TiDB Cloud Serverless 集群的连接。
7777

7878
9. 如果连接测试成功,你可以看到 **Connection Successful** 信息。点击 **Save** 完成连接配置。
7979

8080
</div>
81-
<div label="TiDB Dedicated">
81+
<div label="TiDB Cloud Dedicated">
8282

8383
1. 在 TiDB Cloud 的 [**Clusters**](https://tidbcloud.com/console/clusters) 页面中,点击你目标集群的名字,进入集群的 **Overview** 页面。
8484

@@ -102,20 +102,20 @@ TiDB 是一个兼容 MySQL 的数据库。[Navicat](https://www.navicat.com) 是
102102
- **Host**: 输入从 TiDB Cloud 连接对话框中的得到的 `HOST` 参数。
103103
- **Port**:输入从 TiDB Cloud 连接对话框中的得到的 `PORT` 参数。
104104
- **User Name**: 输入从 TiDB Cloud 连接对话框中的得到的 `USERNAME` 参数。
105-
- **Password**:输入 TiDB Dedicated 集群的密码。
105+
- **Password**:输入 TiDB Cloud Dedicated 集群的密码。
106106

107-
![Navicat: configure connection general panel for TiDB Dedicated](/media/develop/navicat-connection-config-dedicated-general.png)
107+
![Navicat: configure connection general panel for TiDB Cloud Dedicated](/media/develop/navicat-connection-config-dedicated-general.png)
108108

109109
7. 点击 **SSL** 选项卡,选择 **Use SSL****Use authentication** 以及 **Verify server certificate against CA** 复选框。然后,在 **CA Certificate** 字段中选择第 4 步下载的 CA 文件。
110110

111-
![Navicat: configure connection SSL panel for TiDB Dedicated](/media/develop/navicat-connection-config-dedicated-ssl.jpg)
111+
![Navicat: configure connection SSL panel for TiDB Cloud Dedicated](/media/develop/navicat-connection-config-dedicated-ssl.jpg)
112112

113-
8. 点击 **Test Connection** 以验证与 TiDB Dedicated 集群的连接。
113+
8. 点击 **Test Connection** 以验证与 TiDB Cloud Dedicated 集群的连接。
114114

115115
9. 如果连接测试成功,你可以看到 **Connection Successful** 信息。点击 **Save** 完成连接配置。
116116

117117
</div>
118-
<div label="TiDB Self-Hosted">
118+
<div label="本地部署 TiDB">
119119

120120
1. 启动 Navicat for MySQL,点击左上角的 **Connection**,并从下拉列表中选择 **MySQL**
121121

develop/dev-guide-insert-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ aliases: ['/zh/tidb/dev/insert-data']
1414

1515
在阅读本页面之前,你需要准备以下事项:
1616

17-
- [使用 TiDB Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
17+
- [使用 TiDB Cloud Serverless 构建 TiDB 集群](/develop/dev-guide-build-cluster-in-cloud.md)
1818
- 阅读[数据库模式概览](/develop/dev-guide-schema-design-overview.md),并[创建数据库](/develop/dev-guide-create-database.md)[创建表](/develop/dev-guide-create-table.md)[创建二级索引](/develop/dev-guide-create-secondary-indexes.md)
1919

2020
## 插入行

0 commit comments

Comments
 (0)