mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
docs: explains how to use comment chars in passwords
This commit is contained in:
parent
8f1ed07275
commit
464553a453
@ -67,6 +67,7 @@ type = sqlite3
|
|||||||
host = 127.0.0.1:3306
|
host = 127.0.0.1:3306
|
||||||
name = grafana
|
name = grafana
|
||||||
user = root
|
user = root
|
||||||
|
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
|
||||||
password =
|
password =
|
||||||
# Use either URL or the previous fields to configure the database
|
# Use either URL or the previous fields to configure the database
|
||||||
# Example: mysql://user:secret@host:port/database
|
# Example: mysql://user:secret@host:port/database
|
||||||
|
@ -69,6 +69,7 @@
|
|||||||
;host = 127.0.0.1:3306
|
;host = 127.0.0.1:3306
|
||||||
;name = grafana
|
;name = grafana
|
||||||
;user = root
|
;user = root
|
||||||
|
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
|
||||||
;password =
|
;password =
|
||||||
|
|
||||||
# Use either URL or the previous fields to configure the database
|
# Use either URL or the previous fields to configure the database
|
||||||
|
@ -170,7 +170,7 @@ The database user (not applicable for `sqlite3`).
|
|||||||
|
|
||||||
### password
|
### password
|
||||||
|
|
||||||
The database user's password (not applicable for `sqlite3`).
|
The database user's password (not applicable for `sqlite3`). If the password contains `#` or `;` you have to wrap it with trippel quotes. Ex `"""#password;"""`
|
||||||
|
|
||||||
### ssl_mode
|
### ssl_mode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user