瀏覽代碼

docs(conf): adds docs about supporting database_url

closes #1878
bergquist 9 年之前
父節點
當前提交
fef511d403
共有 1 個文件被更改,包括 4 次插入0 次删除
  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.