Closed Veldkornet closed 5 years ago
We use the C implementation. Look into documentation of the add-on
I was following the HomeAssistant documentation. So if the documentation is incorrect, then fine, but then that should be fixed.
Similar issue. Not sure where to turn. Documentation doesn't say anything about setting up the Recorder component to use MariaDB on an external server with hassio. Assumes you have access to the same python env as homeassistant.
Home Assistant release with the issue:
0.100.2
Operating environment (HassOS/Generic):
Hass.io 64-bit on a RaspberryPi 3
Supervisor logs:
Description of problem: When setting up the recorder to use an external MariaDB database as per documentation with the below connection url:
mysql+pymysql://user:password@SERVER_IP:PORT/DB_NAME?charset=utf8
Home Assistant fails to connect to the database because it cannot initiate
pymysql
.When checking for the package with the below command, it’s noted that the package is already installed:
pip3 install pymysql
However, if you install the package PyMySQL, the integration works correctly:
pip3 install PyMySQL
Problem is that because the package is not included in the image, I need to install it each time HomeAssistant has an update.