From 23d2dcb0160817e99c13f147e9f15746b418a571 Mon Sep 17 00:00:00 2001 From: Charles Garwood Date: Thu, 5 Oct 2017 05:12:04 -0400 Subject: [PATCH] Add note for MySQL install on Raspbian Stretch (#3514) * Add note for MySQL install on Raspbian Stretch Added note as detailed in https://github.com/home-assistant/home-assistant.github.io/issues/3509 * Update recorder.markdown Change is to the Debian base package and not to Raspbian specifically. Edited your change to replace the suggested package instead. --- source/_components/recorder.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index 77f80529fb9..0061083e0f6 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -116,9 +116,10 @@ $ pip3 install mysqlclient For MySQL you may have to install a few dependencies. You can choose between `pymysql` and `mysqlclient`: ```bash -$ sudo apt-get install libmysqlclient-dev +$ sudo apt-get install default-libmysqlclient-dev $ pip3 install mysqlclient ``` + If you are in a virtual environment, don't forget to activate it before installing the `mysqlclient` Python package. ```bash