Skip to content

Commit 464553a

Browse files
committed
docs: explains how to use comment chars in passwords
1 parent 8f1ed07 commit 464553a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

conf/defaults.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ type = sqlite3
6767
host = 127.0.0.1:3306
6868
name = grafana
6969
user = root
70+
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
7071
password =
7172
# Use either URL or the previous fields to configure the database
7273
# Example: mysql://user:secret@host:port/database

conf/sample.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
;host = 127.0.0.1:3306
7070
;name = grafana
7171
;user = root
72+
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
7273
;password =
7374

7475
# Use either URL or the previous fields to configure the database

docs/sources/installation/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The database user (not applicable for `sqlite3`).
170170

171171
### password
172172

173-
The database user's password (not applicable for `sqlite3`).
173+
The database user's password (not applicable for `sqlite3`). If the password contains `#` or `;` you have to wrap it with trippel quotes. Ex `"""#password;"""`
174174

175175
### ssl_mode
176176

0 commit comments

Comments
 (0)