Update sqlite URI (fixes #5276) (#5334)

This commit is contained in:
Fabian Affolter 2018-05-09 11:29:18 +02:00 committed by GitHub
parent 422e716f06
commit 8b7bd01647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ recorder:
```
{% configuration %}
recorder:
recorder:
description: Enables the recorder component. Only allowed once.
required: true
type: map
@ -79,7 +79,7 @@ Define domains and entities to `exclude` (aka. blacklist). This is convenient wh
# Example configuration.yaml entry with exclude
recorder:
purge_keep_days: 5
db_url: sqlite:///home/user/.homeassistant/test
db_url: sqlite:////home/user/.homeassistant/test
exclude:
domains:
- automation
@ -145,7 +145,7 @@ If the `recorder` component is activated then some components support `restore_s
| Database engine | `db_url` |
| :---------------|:---------------------------------------------------------|
| SQLite | `sqlite:///PATH/TO/DB_NAME` |
| SQLite | `sqlite:////PATH/TO/DB_NAME` |
| MariaDB | `mysql://SERVER_IP/DB_NAME?charset=utf8` |
| MariaDB         | `mysql://user:password@SERVER_IP/DB_NAME?charset=utf8` |
| MySQL | `mysql://SERVER_IP/DB_NAME?charset=utf8` |