Merge "mariadb security best practice fixes"
This commit is contained in:
commit
724fa773ff
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v10.2.31
|
appVersion: v10.2.31
|
||||||
description: OpenStack-Helm MariaDB
|
description: OpenStack-Helm MariaDB
|
||||||
name: mariadb
|
name: mariadb
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
home: https://mariadb.com/kb/en/
|
home: https://mariadb.com/kb/en/
|
||||||
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -365,6 +365,16 @@ conf:
|
|||||||
max_connections=8192
|
max_connections=8192
|
||||||
max-connect-errors=1000000
|
max-connect-errors=1000000
|
||||||
|
|
||||||
|
# General security settings
|
||||||
|
# Reference: https://dev.mysql.com/doc/mysql-security-excerpt/8.0/en/general-security-issues.html
|
||||||
|
# secure_file_priv is set to '/home' because it is read-only, which will
|
||||||
|
# disable this feature completely.
|
||||||
|
secure_file_priv=/home
|
||||||
|
local_infile=0
|
||||||
|
symbolic_links=0
|
||||||
|
sql_mode="STRICT_ALL_TABLES,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
|
||||||
|
|
||||||
|
|
||||||
## Generally, it is unwise to set the query cache to be larger than 64-128M
|
## Generally, it is unwise to set the query cache to be larger than 64-128M
|
||||||
## as the costs associated with maintaining the cache outweigh the performance
|
## as the costs associated with maintaining the cache outweigh the performance
|
||||||
## gains.
|
## gains.
|
||||||
|
Loading…
Reference in New Issue
Block a user