docs: add version notes

This commit is contained in:
Marcus Efraimsson
2018-10-10 18:59:09 +02:00
parent 79929c1f00
commit 4757ca2242
4 changed files with 21 additions and 21 deletions
+6 -6
View File
@@ -35,9 +35,9 @@ Name | Description
*Database* | Name of your MySQL database.
*User* | Database user's login/username
*Password* | Database user's password
*Max open* | The maximum number of open connections to the database, default `unlimited`.
*Max idle* | The maximum number of connections in the idle connection pool, default `2`.
*Max lifetime* | The maximum amount of time in seconds a connection may be reused, default `14400` (4 hours).
*Max open* | The maximum number of open connections to the database, default `unlimited` (Grafana v5.4+).
*Max idle* | The maximum number of connections in the idle connection pool, default `2` (Grafana v5.4+).
*Max lifetime* | The maximum amount of time in seconds a connection may be reused, default `14400`/4 hours. This should always be lower than configured [wait_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout) in MySQL (Grafana v5.4+).
### Min time interval
@@ -320,7 +320,7 @@ datasources:
user: grafana
password: password
jsonData:
maxOpenConns: 0
maxIdleConns: 2
connMaxLifetime: 14400
maxOpenConns: 0 # Grafana v5.4+
maxIdleConns: 2 # Grafana v5.4+
connMaxLifetime: 14400 # Grafana v5.4+
```