Issue with remote MariaDB using Hassio

Hello,

I have a new setup of hassio on ubuntu server 16.04 (using docker) and MariaDB 10 installed on my Synology. I’ve created a new database called hass but somehow Homeassistant does not connect to MariaDB. The following error is displayed in log:

Sat Mar 24 2018 20:21:41 GMT+0400 (+04)

starting version 3.2.4
Testing configuration at /config
Failed config
recorder:
- Invalid config for [recorder]: expected a dictionary for dictionary value @ data[‘recorder’]. Got ‘mysql://root:[email protected]:3307/hass?charset=utf8’. (See ?, line ?). Please check the docs at https://home-assistant.io/components/recorder/
- config: ?
discovery: ?
ignore: ?
frontend: ?
javascript_version: auto
group: ?
history: ?
http: ?
cors_allowed_origins: ?
ip_ban_enabled: True
login_attempts_threshold: -1
server_host: 0.0.0.0
server_port: 8123
trusted_networks: ?
use_x_forwarded_for: False
logbook: ?
map: ?
panel_iframe: ?
configurator: ?
icon: mdi:wrench
title: Configurator
url: http://192.168.2.249:3218
recorder: mysql://root:[email protected]:3307/hass?charset=utf8
sun: ?
updater: ?
include_used_components: False
reporting: True

Successful config (partial)
recorder:

Please help.

Thanks
Naoufal

Please copy and paste here using code blocks (see the blue box on top of the page) the configuration for the recorder. It seems a formatting error.

You must respect newlines and spacing:

recorder:
  purge_interval: 1
  purge_keep_days: 30
  db_url: mysql://root:[email protected]:3307/hass?charset=utf8

Thanks!
There was typo mistake on the db_url