From d2e6f3d0c53d762f2e9e2e971b1677a1fe749965 Mon Sep 17 00:00:00 2001 From: Mahasri Kalavala Date: Wed, 26 Jul 2017 18:20:07 -0400 Subject: [PATCH] Update recorder.markdown (#3056) * Update recorder.markdown Added additional help with MySQL installation. * Typo --- source/_components/recorder.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index ecf4a2003c2..7c8c16d2bd5 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -120,6 +120,10 @@ homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ source bin/ac (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 %} For PostgreSQL you may have to install a few dependencies: