Update recorder.markdown (#3056)
* Update recorder.markdown Added additional help with MySQL installation. * Typo
This commit is contained in:
parent
c71d131ea9
commit
4a007b8458
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ source bin/ac
|
||||||
(homeassistant_venv) homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ pip3 install mysqlclient
|
(homeassistant_venv) homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ pip3 install mysqlclient
|
||||||
```
|
```
|
||||||
|
|
||||||
|
After installing the dependencies, it is required to create the database manually. During the startup, Home Assistant will look for the database specified in the `db_url`. If the database doesn't exist, it will not automatically create it for you.
|
||||||
|
|
||||||
|
Once Home Assistant finds the database, with right level of permissions, all the required tables will then be automatically created and the data will be populated accordingly.
|
||||||
|
|
||||||
### {% linkable_title PostgreSQL %}
|
### {% linkable_title PostgreSQL %}
|
||||||
|
|
||||||
For PostgreSQL you may have to install a few dependencies:
|
For PostgreSQL you may have to install a few dependencies:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue