Record cannot work correct after upgrade to HA0.97.2

when i was upgrade ha0.96 to Ha0.97.2 there were error logs about record.
i found maybe it is cause by mariadb…
record could not access the mariadb
there is ha error log:

ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.OperationalError) (1130, "Host 'core-samba.local.hass.io' is not allowed to connect to this MariaDB server")

and here is mariadb error log:

190828 11:31:35 mysqld_safe Logging to '/data/databases/core-mariadb.local.hass.io.err'.

I tried to change the host to % to resolve it ,but not.
how can i fix it ? thx…alots

1 Like