mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Update recorder.markdown (#3056)
* Update recorder.markdown Added additional help with MySQL installation. * Typo
This commit is contained in:
parent
cfeb816b4f
commit
d2e6f3d0c5
@ -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…
x
Reference in New Issue
Block a user