File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
docs/en/developer/00-drivers Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,24 @@ Databend provides official drivers for multiple programming languages, enabling
15
15
All Databend drivers use the same DSN (Data Source Name) format:
16
16
17
17
```
18
- databend://user[:password] @host[:port]/[database][?sslmode=disable][&arg1=value1]
18
+ databend://user:pass @host[:port]/[database][?sslmode=disable][&arg1=value1]
19
19
```
20
20
21
- ### Examples
21
+ ### Connection Examples
22
22
23
23
| Deployment | Connection String |
24
24
| ------------| -------------------|
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 ` |
27
27
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 )
29
36
30
37
## Available Drivers
31
38
You can’t perform that action at this time.
0 commit comments