Recorder to MySQL fails

Hi there,
i want to use Recorder with an existing mysql server.
HA stops with:

2017-05-10 20:49:39 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: No module named ‘MySQLdb’ (retrying in 3 seconds)

Could the mysql-client be added to the HA image?

Edit: This works with the nomal HA Dockerimage

Edit2: Same with pymysql.

Is on Task list: https://www.pivotaltracker.com/story/show/145231347

Fix with homeassistant docker 0.45

1 Like

Works! Great Job.

I have this error with Hassio 1.0. The fix is supposed to work directly or we need to modify something in the config?

The db_url in the docs should work with external MySQL Server or the MariaDB addon.

I found my problem. I was using mysql+pymysql instead of mysql only. Thanks for your help guys!

1 Like