Commit 464553a4 by bergquist

docs: explains how to use comment chars in passwords

parent 8f1ed072
...@@ -67,6 +67,7 @@ type = sqlite3 ...@@ -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 @@ ...@@ -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`). ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment