mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-18 07:39:08 +02:00
On HAOS >=17.3 the Supervisor network gained IPv6, but the MariaDB addon only grants the service user from the IPv4 subnet. Connecting via IPv6 causes auth failure and makes CREATE DATABASE appear to lack privileges. Mirror the fix from the photoprism addon: resolve via getent ahostsv4 and add --skip-ssl. Password remains in MYSQL_PWD env var (safer than --password= on the CLI).