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.
This commit is contained in:
Niklas V 2018-03-06 23:30:39 +01:00 committed by Fabian Affolter
parent f77c8fe85e
commit 7f711ea1ea

View File

@ -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` |
<p class='note'>
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
```
</p>
## {% linkable_title Installation notes %}