You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop/dev-guide-gui-datagrip.md
+43-1Lines changed: 43 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ TiDB is a MySQL-compatible database, and [JetBrains DataGrip](https://www.jetbra
10
10
11
11
> **Note:**
12
12
>
13
-
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
13
+
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, {{{ .premium }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
14
14
15
15
You can use DataGrip in two ways:
16
16
@@ -75,6 +75,48 @@ Connect to TiDB depending on the TiDB deployment option you've selected.
75
75
76
76
9. Click **OK** to save the connection configuration.
77
77
78
+
</div>
79
+
<divlabel="{{{ .premium }}}">
80
+
81
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
82
+
83
+
2. In the left navigation pane, click **Settings** > **Networking**.
84
+
85
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
86
+
87
+
Ensure that your client IP address is added to the access list.
88
+
89
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
90
+
91
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
92
+
93
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
94
+
95
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
96
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
97
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
98
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
99
+
100
+
7. Launch DataGrip and create a project to manage your connections.
101
+
102
+
8. In the newly created project, click **+** in the upper-left corner of the **Database Explorer** panel, and select **Data Source** > **Other** > **TiDB**.
103
+
104
+
9. Copy and paste the appropriate connection string into the **Data Source and Drivers** window in DataGrip. The mappings between DataGrip fields and {{{ .premium }}} connection string are as follows:
105
+
106
+
| DataGrip field | {{{ .premium }}} connection string |
Copy file name to clipboardExpand all lines: develop/dev-guide-gui-dbeaver.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In this tutorial, you can learn how to connect to TiDB using DBeaver Community.
12
12
13
13
> **Note:**
14
14
>
15
-
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
15
+
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, {{{ .premium }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
16
16
17
17
## Prerequisites
18
18
@@ -86,6 +86,45 @@ Connect to TiDB depending on the TiDB deployment option you've selected.
86
86
87
87
9. Click **Finish** to save the connection configuration.
88
88
89
+
</div>
90
+
<divlabel="{{{ .premium }}}">
91
+
92
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
93
+
94
+
2. In the left navigation pane, click **Settings** > **Networking**.
95
+
96
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
97
+
98
+
Ensure that your client IP address is added to the access list.
99
+
100
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
101
+
102
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
103
+
104
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
105
+
106
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
107
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
108
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
109
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
110
+
111
+
7. Launch DBeaver and click **New Database Connection** in the upper-left corner. In the **Connect to a database** dialog, select **TiDB** from the list, and then click **Next**.
112
+
113
+
8. Copy and paste the appropriate connection string into the DBeaver connection panel. The mappings between DBeaver fields and {{{ .premium }}} connection string are as follows:
114
+
115
+
| DBeaver field | {{{ .premium }}} connection string |
Copy file name to clipboardExpand all lines: develop/dev-guide-gui-mysql-workbench.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ In this tutorial, you can learn how to connect to TiDB using MySQL Workbench.
17
17
18
18
> **Note:**
19
19
>
20
-
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
20
+
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, {{{ .premium }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
21
21
22
22
## Prerequisites
23
23
@@ -77,6 +77,42 @@ Connect to TiDB depending on the TiDB deployment option you have selected.
77
77
78
78
8. If the connection test is successful, you can see the **Successfully made the MySQL connection** message. Click **OK** to save the connection configuration.
79
79
80
+
</div>
81
+
<divlabel="{{{ .premium }}}">
82
+
83
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
84
+
85
+
2. In the left navigation pane, click **Settings** > **Networking**.
86
+
87
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
88
+
89
+
Ensure that your client IP address is added to the access list.
90
+
91
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
92
+
93
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
94
+
95
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
96
+
97
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
98
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
99
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
100
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
101
+
102
+
7. Launch MySQL Workbench and click **+** near the **MySQL Connections** title.
103
+
104
+
8. In the **Setup New Connection** dialog, configure the following connection parameters:
105
+
106
+
-**Connection Name**: give this connection a meaningful name.
107
+
-**Hostname**: enter the `HOST` parameter from the TiDB Cloud connection dialog.
108
+
-**Port**: enter the `PORT` parameter from the TiDB Cloud connection dialog.
109
+
-**Username**: enter the `USERNAME` parameter from the TiDB Cloud connection dialog.
110
+
-**Password**: click **Store in Keychain ...** or **Store in Vault**, enter the password of the {{{ .premium }}} instance, and then click **OK** to store the password.
111
+
112
+
9. Click **Test Connection** to validate the connection to the {{{ .premium }}} instance.
113
+
114
+
10. If the connection test is successful, you can see the **Successfully made the MySQL connection** message. Click **OK** to save the connection configuration.
Copy file name to clipboardExpand all lines: develop/dev-guide-gui-navicat.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In this tutorial, you can learn how to connect to TiDB using Navicat.
12
12
13
13
> **Note:**
14
14
>
15
-
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
15
+
> This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, {{{ .premium }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
16
16
17
17
## Prerequisites
18
18
@@ -73,6 +73,44 @@ Connect to TiDB depending on the TiDB deployment option you have selected.
73
73
74
74
9. If the connection test is successful, you can see the **Connection Successful** message. Click **OK** to finish the connection configuration.
75
75
76
+
</div>
77
+
<divlabel="{{{ .premium }}}">
78
+
79
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
80
+
81
+
2. In the left navigation pane, click **Settings** > **Networking**.
82
+
83
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
84
+
85
+
Ensure that your client IP address is added to the access list.
86
+
87
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
88
+
89
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
90
+
91
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
92
+
93
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
94
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
95
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
96
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
97
+
98
+
7. Launch Navicat Premium, click **Connection** in the upper-left corner, select **PingCAP** from the **Vendor Filter** list, and double-click **TiDB** in the right panel.
99
+
100
+
8. In the **New Connection (TiDB)** dialog, configure the following connection parameters:
101
+
102
+
-**Connection Name**: give this connection a meaningful name.
103
+
-**Host**: enter the `HOST` parameter from the TiDB Cloud connection dialog.
104
+
-**Port**: enter the `PORT` parameter from the TiDB Cloud connection dialog.
105
+
-**User Name**: enter the `USERNAME` parameter from the TiDB Cloud connection dialog.
106
+
-**Password**: enter the password of the {{{ .premium }}} instance.
107
+
108
+
9. Click the **SSL** tab and clear the **Use SSL** checkbox.
109
+
110
+
10. Click **Test Connection** to validate the connection to the {{{ .premium }}} instance.
111
+
112
+
11. If the connection test is successful, you can see the **Connection Successful** message. Click **OK** to finish the connection configuration.
Copy file name to clipboardExpand all lines: develop/dev-guide-gui-vscode-sqltools.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In this tutorial, you can learn how to connect to TiDB using Visual Studio Code.
12
12
13
13
> **Note:**
14
14
>
15
-
> - This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
15
+
> - This tutorial is compatible with {{{ .starter }}}, {{{ .essential }}}, {{{ .premium }}}, TiDB Cloud Dedicated, and TiDB Self-Managed.
16
16
> - This tutorial also works with Visual Studio Code Remote Development environments, such as [GitHub Codespaces](https://github.com/features/codespaces), [Visual Studio Code Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers), and [Visual Studio Code WSL](https://code.visualstudio.com/docs/remote/wsl).
17
17
18
18
## Prerequisites
@@ -93,6 +93,49 @@ Connect to TiDB depending on the TiDB deployment option you have selected.
93
93
94
94
8. If the connection test is successful, you can see the **Successfully connected!** message. Click **SAVE CONNECTION** to save the connection configuration.
95
95
96
+
</div>
97
+
<divlabel="{{{ .premium }}}">
98
+
99
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
100
+
101
+
2. In the left navigation pane, click **Settings** > **Networking**.
102
+
103
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
104
+
105
+
Ensure that your client IP address is added to the access list.
106
+
107
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
108
+
109
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
110
+
111
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
112
+
113
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
114
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
115
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
116
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
117
+
118
+
7. Launch VS Code and select the **SQLTools** extension on the navigation pane. Under the **CONNECTIONS** section, click **Add New Connection** and select **TiDB** as the database driver.
119
+
120
+
8. In the setting pane, configure the following connection parameters:
121
+
122
+
-**Connect using**: select **Server and Port**.
123
+
-**Server Address**: enter the `host` parameter from the TiDB Cloud connection dialog.
124
+
-**Port**: enter the `port` parameter from the TiDB Cloud connection dialog.
125
+
-**Database**: enter the database that you want to connect to.
126
+
-**Username**: enter the `user` parameter from the TiDB Cloud connection dialog.
Replace the placeholders in `{}` with the values obtained in the connection dialog.
109
+
110
+
</div>
111
+
112
+
<div label="{{{ .premium }}}">
113
+
114
+
1. Navigate to the [**My TiDB**](https://tidbcloud.com/tidbs) page, and then click the name of your target {{{ .premium }}} instance to go to its overview page.
115
+
116
+
2. In the left navigation pane, click **Settings** > **Networking**.
117
+
118
+
3. On the **Networking** page, click **Enable** for **Public Endpoint**, and then click **Add IP Address**.
119
+
120
+
Ensure that your client IP address is added to the access list.
121
+
122
+
4. In the left navigation pane, click **Overview** to return to the instance overview page.
123
+
124
+
5. Click **Connect** in the upper-right corner. A connection dialog is displayed.
125
+
126
+
6. In the connection dialog, select **Public** from the **Connection Type** drop-down list.
127
+
128
+
- If a message indicates that the public endpoint is still being enabled, wait until the process completes.
129
+
- If you have not set a password yet, click **Set Root Password** in the dialog.
130
+
- If you need to verify the server certificate or if the connection fails and requires a CA certificate, click **CA cert** to download it.
131
+
- In addition to the **Public** connection type, {{{ .premium }}} supports **Private Endpoint** connections. For more information, see [Connect to {{{ .premium }}} via AWS PrivateLink](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md).
132
+
133
+
7. Copy and paste the corresponding connection string into `env.json`. The following is an example:
134
+
135
+
```json
136
+
{
137
+
"Parameters": {
138
+
"TIDB_HOST": "{host}",
139
+
"TIDB_PORT": "4000",
140
+
"TIDB_USER": "root",
141
+
"TIDB_PASSWORD": "{password}",
142
+
"TIDB_ENABLE_SSL": "false"
103
143
}
104
144
}
105
145
```
@@ -118,7 +158,8 @@ Copy and paste the corresponding connection string into `env.json`. The followin
118
158
"TIDB_HOST": "{tidb_server_host}",
119
159
"TIDB_PORT": "4000",
120
160
"TIDB_USER": "root",
121
-
"TIDB_PASSWORD": "{password}"
161
+
"TIDB_PASSWORD": "{password}",
162
+
"TIDB_ENABLE_SSL": "false"
122
163
}
123
164
}
124
165
```
@@ -273,10 +314,10 @@ function connect() {
273
314
user: process.env.TIDB_USER, // TiDB user, for example: {prefix}.root
0 commit comments