In-memory MariaDB (MySQL) add-on for recorder/history integration

If you want to import a “legacy” MariaDB into this add-on:

  • stop HA core
  • sqldump the old homeassistant database
  • login into this add-on’s command line with docker exec -it addon_45207088_mariadb /bin/bash
  • import the dump
  • modify HA configuration.yaml (see the add-on’s documentation)
  • start HA

If you want to use this add-on next to a HA Container installation (see: Installation - Home Assistant), it is not possible. Even add-ons are docker images, but they require a few stuff around them to run (HA and Supervisor APIs, managed configuration options, backup/restore system, etc.), so add-ons can’t be used if you installed HA Container.

1 Like