home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
5.01k stars 981 forks source link

KVM HASSOS 6.2 with MySQL problem #1519

Closed szafran81 closed 3 years ago

szafran81 commented 3 years ago

Hardware Environment

Home Assistant OS release:

szafran81 commented 3 years ago

Hm... I think I managed to find the problem. As it turns out the problem was the config statement that I used before to configure recorder:

db_url: mysql://user:pass@192.168.1.3/hassio

And this worked without problems on my previous venv setup. But now under the HASSOS-KVM setup this needs to be:

db_url: mysql://user:pass@192.168.1.3/hassio?charset=utf8mb4

Now I'm not seeing any recorder related errors in any of the logs.