From d341875bb045e5fc15da5439c762f8be78092fc2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 17 Jul 2016 17:44:24 +0200 Subject: [PATCH] Update recorder.markdown (#650) Installs to get mysql working (on ImportError: No module named 'MySQLdb' in hass startup). --- source/_components/recorder.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index 989f984a360..2f2fd934377 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -41,3 +41,8 @@ Configuration variables: | PostgreSQL | `postgresql://SERVER_IP/DB_NAME` | | PostgreSQL | `postgresql://scott:tiger@SERVER_IP/DB_NAME` | +**Note**: For MySQL you may have to install a few dependencies: +``` +$ apt-get install libmysqlclient-dev +$ pip3 install mysqlclient +```