freebsd-ports/databases/mariadb105-server/files/server.cnf.sample.in
Bernard Spil 69e25e2bf3 databases/mariadb105-server: Security update to 10.5.7
* Cleanup/polish PLIST_SUB and SUB_LIST [1]

PR:		248677 [1]
MFH:		2020Q4
Security:	4fba07ca-13aa-11eb-b31e-d4c9ef517024
2020-11-08 19:02:29 +00:00

60 lines
1.8 KiB
Text

# Options specific to server applications, see
# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#server-option-groups
# Options specific to all server programs
[server]
# Options specific to MariaDB server programs
[server-mariadb]
#
# Options for specific server tools
#
[mysqld]
user = %%MARIADB_USER%%
# port = 3306 # inherited from %%ETCDIR%%/my.cnf
# socket = %%MARIADB_RUNDIR%%/mysql.sock # inherited from %%ETCDIR%%/my.cnf
bind-address = 127.0.0.1
basedir = %%PREFIX%%
datadir = %%MARIADB_DBDIR%%
net_retry_count = 16384
log_error = %%MARIADB_LOGDIR%%/mysqld.err
# [mysqld] configuration for ZFS
# From https://www.percona.com/resources/technical-presentations/zfs-mysql-percona-technical-webinar
# Create separate datasets for data and logs, eg
# zroot/mysql compression=on recordsize=128k atime=off
# zroot/mysql/data recordsize=16k
# zroot/mysql/logs
# datadir = %%MARIADB_DBDIR%%/data
# innodb_log_group_home_dir = %%MARIADB_DBDIR%%/log
# audit_log_file = %%MARIADB_DBDIR%%/log/audit.log
# general_log_file = %%MARIADB_DBDIR%%/log/general.log
# log_bin = %%MARIADB_DBDIR%%/log/mysql-bin
# relay_log = %%MARIADB_DBDIR%%/log/relay-log
# slow_query_log_file = %%MARIADB_DBDIR%%/log/slow.log
# innodb_doublewrite = 0
# innodb_flush_method = O_DSYNC
# Options read by `mariadb_safe`
# Renamed from [mysqld_safe] starting with MariaDB 10.4.6.
[mariadb-safe]
# Options read my `mariabackup`
[mariabackup]
# Options read by `mysql_upgrade`
# Renamed from [mysql_upgrade] starting with MariaDB 10.4.6.
[mariadb-upgrade]
# Specific options read by the mariabackup SST method
[sst]
# Options read by `mysqlbinlog`
# Renamed from [mysqlbinlog] starting with MariaDB 10.4.6.
[mariadb-binlog]
# Options read by `mysqladmin`
# Renamed from [mysqladmin] starting with MariaDB 10.4.6.
[mariadb-admin]