Hello, I wish to run HASS IO on a Raspberry PI, and have the Maria DB installed on another Linux Server. I have installed Maria DB on Ubuntu Server 16.04 and the Hass IO on the PI with no problems, howver , I can’t seem to figure out the settings to get the recorder to use this Maria DB. Am I correct in thinking that on first use, the database is created? My settings for Maria DB in the Add On section is
but the database is on another server, any ideas welcome, I keep getting the following error in the log file
2018-04-03 00:08:20 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (_mysql_exceptions.OperationalError) (2003, ‘Can’t connect to MySQL server on ‘192.168.1.29’ (111 “Connection refused”)’) (Background on this error at: http://sqlalche.me/e/e3q8) (retrying in 3 seconds)
I have checked and the Maria DB is up, and nor firewall is turned on
@parkyerbike did you set up the MariaDB addon on hassio? That one will start a MariaDB instance on the RPi, I think it’s not what you are trying to do.
To use MariaDB on an external server you only need to change the configuration file, don’t need to install.
Moreover, if I remember the procedure you have to create yourself the empty database, HA will create the tables in it.
I did, only just though. I was thinking about it the wrong way, I don’t need to install mariadb on the hassio instance, I just added the recorder settings and created the database manually and all worked like a dream