Recorder won't connect to mariadb server

I installed hass.io addon mariadb and configured db and user.

recorder component configuration:

recorder: 
   db_url: mysql://admin:pass@core-mariadb/hassos?charset=utf8

I get error:

Error during connection setup: (MySQLdb._exceptions.OperationalError) (1044, "Access denied for user 'admin'@'%' to database 'hassos'")
(Background on this error at: http://sqlalche.me/e/e3q8) (retrying in 3 seconds)