External db for recorder - MySQL on NAS - trouble with installation notes

Tags: #<Tag:0x00007fc4006444b8>

Hi there,

I’m trying to move the sqllite db to a MySQL db on my NAS.

The instruction https://www.home-assistant.io/integrations/recorder/
points to
"### MARIADB AND MYSQL

If you are in a virtual environment, don’t forget to activate it before installing the mysqlclient Python package described below.

[email protected]:~ $ sudo -u homeassistant -H -s
[email protected]:~$ source /srv/homeassistant/bin/activate
(homeassistant) [email protected]:~$ pip3 install mysqlclient
``` "

I'm using 
Home Assistant OS 5.12
and the SSH extension.

so far I'm not able to install any sudo apt-ghet command.
the pip3 command is followed by pages of errors.

Can anyone give me some direction on how to install the dependencies?

Thanks @Tinkerer for your discord support. Problem was part of my MYSQL setup.

solved.

1 Like