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
1515All 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
You can’t perform that action at this time.
0 commit comments