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
* warehouse: add more for connect
* improve cloud index.md
* add image lang path, make ai auto check when transalting
* make the lang replace more powerful: image/text/link
Copy file name to clipboardExpand all lines: docs/en/guides/20-cloud/10-using-databend-cloud/01-warehouses.md
+64Lines changed: 64 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,8 +140,72 @@ For example, for an XSmall Warehouse priced at $1 per hour, if one cluster is ac
140
140
141
141
Connecting to a warehouse provides the compute resources required to run queries and analyze data within Databend Cloud. This connection is necessary when accessing Databend Cloud from your applications or SQL clients.
142
142
143
+
### Connection Methods
144
+
145
+
Databend Cloud supports multiple connection methods to meet your specific needs. For detailed connection instructions, see the [SQL Clients documentation](/guides/sql-clients/).
|**Rust**| Rust Driver | System Programming |[Rust Guide](/guides/sql-clients/developers/rust)|
163
+
164
+
### Obtaining Connection Information
165
+
143
166
To obtain the connection information for a warehouse:
144
167
145
168
1. Click **Connect** on the **Overview** page.
146
169
2. Select the database and warehouse you wish to connect to. The connection information will update based on your selection.
147
170
3. The connection details include a SQL user named `cloudapp` with a randomly generated password. Databend Cloud does not store this password. Be sure to copy and save it securely. If you forget the password, click **Reset** to generate a new one.
-`<tenant>`, `<region>`: Your account information (shown in the connection details)
191
+
-`<database>`: Selected database (shown in the connection details)
192
+
-`<warehouse_name>`: Selected warehouse (shown in the connection details)
193
+
194
+
### Creating SQL Users for Warehouse Access
195
+
196
+
Besides the default `cloudapp` user, you can create additional SQL users for better security and access control:
197
+
198
+
```sql
199
+
-- Create a new SQL user
200
+
CREATEUSERwarehouse_user1 IDENTIFIED BY 'StrongPassword123';
201
+
202
+
-- Grant ALL on database
203
+
-- This user can access all tables in the database
204
+
GRANT ALL ON my_database.* TO warehouse_user1;
205
+
```
206
+
207
+
For more details, see [CREATE USER](/sql/sql-commands/ddl/user/user-create-user) and [GRANT](/sql/sql-commands/ddl/user/grant) documentation.
208
+
209
+
### Connection Security
210
+
211
+
All connections to Databend Cloud warehouses use TLS encryption by default. For enterprise users requiring additional security, [AWS PrivateLink](/guides/sql-clients/privatelink) is available to establish private connections between your VPC and Databend Cloud.
Copy file name to clipboardExpand all lines: docs/en/guides/20-cloud/index.md
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,35 @@
2
2
title: Working with Databend Cloud
3
3
---
4
4
5
-
import IndexOverviewList from '@site/src/components/IndexOverviewList';
5
+
# Databend Cloud Overview
6
+
7
+
Databend Cloud is a fully-managed cloud data warehouse service that provides a seamless, scalable, and cost-effective solution for your data analytics needs. This guide will help you navigate through the essential aspects of using Databend Cloud.
8
+
9
+
## Quick Navigation
10
+
11
+
| Category | Resource | Description |
12
+
|----------|----------|-------------|
13
+
|**Getting Started**|[Creating a New Account](/guides/cloud/new-account)| Sign up for Databend Cloud and create your organization |
14
+
|**Fundamentals**|[Organization & Members](/guides/cloud/using-databend-cloud/organization)| Understand how organizations work and manage team members |
15
+
||[Warehouses](/guides/cloud/using-databend-cloud/warehouses)| Learn about compute resources, sizes, and best practices |
16
+
||[Worksheets](/guides/cloud/using-databend-cloud/worksheet)| Execute SQL queries and analyze data |
17
+
||[Dashboard](/guides/cloud/using-databend-cloud/dashboard)| Monitor your data analytics with visualizations |
18
+
|**Management**|[Managing Costs](/guides/cloud/manage/costs)| Set spending limits and control your expenses |
19
+
||[Monitoring](/guides/cloud/manage/monitor)| Track usage and performance |
20
+
||[AI Features](/guides/cloud/manage/ai-features)| Leverage AI capabilities for data analysis |
Copy file name to clipboardExpand all lines: docs/en/guides/30-sql-clients/index.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,14 @@
2
2
title: Connect to Databend
3
3
---
4
4
5
-
Databend supports multiple connection methods to suit different use cases. Choose the method that best fits your needs:
5
+
Databend supports multiple connection methods to suit different use cases. All SQL clients and drivers below work with both Databend Cloud and self-hosted Databend deployments - <spanclass="text-blue">the only difference is how you obtain your connection string</span>.
6
+
7
+
## Obtaining Connection Strings
8
+
9
+
| Deployment | How to Get Connection String | Connection Format |
|**Databend Cloud**| 1. Log in to [Databend Cloud](https://app.databend.com)<br/>2. Click **Connect** on the Overview page<br/>3. Select your database and warehouse<br/>4. Copy the generated connection details |`databend://<username>:<password>@<tenant>.gw.<region>.default.databend.com:443/<database>?warehouse=<warehouse_name>`|
12
+
|**Self-Hosted**| Use your deployment information:<br/>• Default user: `root` (or custom SQL user)<br/>• Host: your server address (e.g., `localhost`) |`databend://<username>:<password>@<hostname>:<port>/<database>`|
0 commit comments