mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update mariadb add-on component configuration (#7540)
This commit is contained in:
parent
ce89a9509b
commit
c4de692296
@ -32,18 +32,50 @@ Set up a [MariaDB](https://mariadb.org/) SQL server. It supports multiple databa
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
databases:
|
||||||
- **databases** (*Required*): List of databases.
|
description: List of databases.
|
||||||
- **logins** (*Required*): List of SQL accounts to create or update.
|
required: true
|
||||||
- **username** (*Required*): Username for account.
|
type: list
|
||||||
- **host** (*Required*): Host for account. If you need an account on multiple hosts, use '%'.
|
logins:
|
||||||
- **password** (*Required*): Password for account.
|
description: List of SQL accounts to create or update.
|
||||||
- **rights** (*Required*): List of rights to be granted.
|
required: true
|
||||||
- **username** (*Required*): Username for granted rights.
|
type: list
|
||||||
- **host** (*Required*): Host is a part of username like above.
|
keys:
|
||||||
- **database** (*Required*): Database name on which to grant user rights.
|
username:
|
||||||
- **grant** (*Required*): SQL grant part for access too.
|
description: Username for account.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
host:
|
||||||
|
description: Host for account. If you need an account on multiple hosts, use '%'.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
password:
|
||||||
|
description: Password for account.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
rights:
|
||||||
|
description: List of rights to be granted.
|
||||||
|
required: true
|
||||||
|
type: list
|
||||||
|
keys:
|
||||||
|
username:
|
||||||
|
description: Username for granted rights.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
host:
|
||||||
|
description: Host is a part of username like above.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
database:
|
||||||
|
description: Database name on which to grant user rights.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
grant:
|
||||||
|
description: SQL grant part for access too.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Home Assistant configuration %}
|
## {% linkable_title Home Assistant configuration %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user