Browse Source

docs(conf): adds docs about supporting database_url

closes #1878
bergquist 9 năm trước cách đây
mục cha
commit
fef511d403
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      docs/sources/installation/configuration.md

+ 4 - 0
docs/sources/installation/configuration.md

@@ -144,6 +144,10 @@ Grafana needs a database to store users and dashboards (and other
 things). By default it is configured to use `sqlite3` which is an
 embedded database (included in the main Grafana binary).
 
+### url
+Use either URL or or the other fields below to configure the database
+Example: `mysql://user:secret@host:port/database`
+
 ### type
 
 Either `mysql`, `postgres` or `sqlite3`, it's your choice.