Skip to content

Commit f416e45

Browse files
authored
fix: links and text (#1104)
1 parent 32bba69 commit f416e45

File tree

6 files changed

+26
-15
lines changed

6 files changed

+26
-15
lines changed

docs/en/tutorials/connect/connect-to-databend-bendsql.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
---
2-
title: 'Connecting to Self-Hosted Databend using BendSQL'
3-
sidebar_label: 'Connecting to Self-Hosted Databend (BendSQL)'
2+
title: "Connecting to Self-Hosted Databend using BendSQL"
3+
sidebar_label: "Connecting to Self-Hosted Databend (BendSQL)"
44
slug: /
55
---
6+
67
import StepsWrap from '@site/src/components/StepsWrap';
78
import StepContent from '@site/src/components/Steps/step-content';
89

910
In this tutorial, we will guide you through the process of connecting to a self-hosted Databend instance using BendSQL as the user `root`.
1011

12+
You might be wondering how to [install and deploy databend](/guides/deploy/)
13+
1114
<StepsWrap>
1215
<StepContent number="1">
1316

14-
1517
### Before You Start
1618

1719
- Ensure that BendSQL is installed on your machine. See [Installing BendSQL](/guides/sql-clients/bendsql/#installing-bendsql) for instructions on how to install BendSQL using various package managers.
1820
- Ensure that your Databend instance has started up successfully.
1921
- In this tutorial, you will use the `root` account to connect to Databend. During deployment, uncomment the following lines in the [databend-query.toml](https://github.com/datafuselabs/databend/blob/main/scripts/distribution/configs/databend-query.toml) configuration file to select this account:
2022

21-
```sql title="databend-query.toml"
22-
[[query.users]]
23-
name = "root"
24-
auth_type = "no_password"
25-
```
23+
```sql title="databend-query.toml"
24+
[[query.users]]
25+
name = "root"
26+
auth_type = "no_password"
27+
```
2628

2729
</StepContent>
2830
<StepContent number="2">
@@ -37,7 +39,6 @@ The command `bendsql` launches and connects BendSQL to the local Databend at 127
3739

3840
![Alt text](/img/connect/bendsql-1.gif)
3941

40-
4142
</StepContent>
4243
<StepContent number="3">
4344

@@ -57,4 +58,4 @@ To quit BendSQL, type `quit`.
5758
![Alt text](/img/connect/bendsql-3.gif)
5859

5960
</StepContent>
60-
</StepsWrap>
61+
</StepsWrap>

docs/en/tutorials/connect/connect-to-databend-dbeaver.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import StepContent from '@site/src/components/Steps/step-content';
88

99
In this tutorial, we will guide you through the process of connecting to a self-hosted Databend instance through the Databend JDBC driver as the user `root`.
1010

11+
You might be wondering how to [install and deploy databend](/guides/deploy/)
12+
1113
<StepsWrap>
1214
<StepContent number="1">
1315

docs/en/tutorials/connect/connect-to-databendcloud-bendsql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: 'Connecting to Databend Cloud using BendSQL'
3-
sidebar_label: 'Connecting to Databend Cloud (BendSQL)'
2+
title: "Connecting to Databend Cloud using BendSQL"
3+
sidebar_label: "Connecting to Databend Cloud (BendSQL)"
44
---
5+
56
import StepsWrap from '@site/src/components/StepsWrap';
67
import StepContent from '@site/src/components/Steps/step-content';
78

@@ -36,15 +37,14 @@ In this tutorial, we will guide you through the process of connecting to Databen
3637

3738
### Launch BendSQL
3839

39-
To launch BendSQL, paste the content you copied into your terminal or command prompt. If the password you copied displays as "******", replace them with your actual password.
40+
To launch BendSQL, paste the content you copied into your terminal or command prompt. If the password you copied displays as "**\*\***", replace them with your actual password.
4041

4142
![Alt text](/img/connect/bendsql-6.png)
4243

4344
</StepContent>
4445

4546
<StepContent number="4">
4647

47-
4848
### Execute Queries
4949

5050
Once connected, you can execute SQL queries in the BendSQL shell. For instance, type `SELECT NOW();` to return the current time.

i18n/en/code.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,5 +580,9 @@
580580
"Pricing": {
581581
"message": "Pricing",
582582
"description": "Text for Pricing"
583+
},
584+
"Use Cases": {
585+
"message": "Use Cases",
586+
"description": "Use Cases"
583587
}
584588
}

i18n/zh/code.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,5 +596,9 @@
596596
"Pricing": {
597597
"message": "价格相关",
598598
"description": "价格的文本"
599+
},
600+
"Use Cases": {
601+
"message": "用户案例",
602+
"description": "Use Cases"
599603
}
600604
}

src/components/DocsOverview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const DocsOverview: FC = (): ReactElement => {
109109
<SmallCard
110110
icon={<Cli></Cli>}
111111
text={"BendSQL"}
112-
to={"/tutorials/connect/connect-to-databendcloud-bendsql"}
112+
to={"/guides/sql-clients/bendsql"}
113113
/>
114114
</Col>
115115
<Col {...colLayout}>

0 commit comments

Comments
 (0)