Skip to content

Commit 2d9eb0d

Browse files
authored
Update index.md
1 parent 31acd5b commit 2d9eb0d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

docs/en/developer/00-drivers/index.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,24 @@ Databend provides official drivers for multiple programming languages, enabling
1515
All Databend drivers use the same DSN (Data Source Name) format:
1616

1717
```
18-
databend://user[:password]@host[:port]/[database][?sslmode=disable][&arg1=value1]
18+
databend://user:pass@host[:port]/[database][?sslmode=disable][&arg1=value1]
1919
```
2020

21-
### Examples
21+
### Connection Examples
2222

2323
| Deployment | Connection String |
2424
|------------|-------------------|
25-
| **Self-hosted** | `databend://user:pass@localhost:8000/database?sslmode=disable` |
26-
| **Databend Cloud** | `databend://cloudapp:pass@host:443/database?warehouse=wh` |
25+
| **Self-hosted** | `databend://user:pass@host:8000/database?sslmode=disable` |
26+
| **Databend Cloud** | `databend://user:pass@host:443/database?warehouse=wh` |
2727

28-
> **Databend Cloud users**: [Get your connection info →](/guides/cloud/using-databend-cloud/warehouses#obtaining-connection-information)
28+
### Parameters Reference
29+
30+
| Parameter | Description | Self-hosted | Databend Cloud | Example |
31+
|-----------|-------------|-------------|----------------|----------|
32+
| `sslmode` | SSL mode | `disable` (required) | Not used | `?sslmode=disable` |
33+
| `warehouse` | Warehouse name | Not used | Required | `?warehouse=compute_wh` |
34+
35+
> **Databend Cloud**: [Get connection info →](/guides/cloud/using-databend-cloud/warehouses#obtaining-connection-information)
2936
3037
## Available Drivers
3138

0 commit comments

Comments
 (0)