From 7f711ea1eacf27a0a87488e1aa54e20f5dee6223 Mon Sep 17 00:00:00 2001 From: Niklas V Date: Tue, 6 Mar 2018 23:30:39 +0100 Subject: [PATCH] Added port 3307 to Maira DB (#4743) Maria DB 10 have changed port from 3306 that Maria DB are using and is standard in this component. Maria DB is using port 3307 instead and that need to be added in the configuration to work. I have added a note in the description to add the port to the server_ip. --- source/_components/recorder.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index b0d42275064..6e51c653824 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -157,6 +157,8 @@ If the `recorder` component is activated then some components support `restore_s | MS SQL Server | `mssql+pymssql://user:pass@SERVER_IP/DB_NAME?charset=utf8` |

+If you use MariaDB 10 you need to add port 3307 to the SERVER_IP, e.g., `mysql://user:password@SERVER_IP:3307/DB_NAME?charset=utf8`. + +If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the service file. ```bash @@ -176,7 +178,6 @@ Save the file then reload `systemctl`: ```bash $ sudo systemctl daemon-reload ``` -

## {% linkable_title Installation notes %}