ports/databases/mariadb1011-server/files/server.cnf.sample.in
Bernard Spil 91f311910c databases/mariadb1011-server: Update to 10.11.9
* Don't set db_dir twice [1]
* Fix build with ports LibreSSL [2]

PR:		280841 [1], 274494 [2]
Reported by:	<pradeep michchi gmail com> [1], Ivan Rozhuk <rozhuk im gmail com> [2]
2024-08-18 14:28:53 +02: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%% # --db_dir is set from rc.d
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]