Files
2023_WEBSITE_jipf/srcs/requirements/mariadb/conf/mariadb-server.cnf.alpine
2022-10-22 14:15:43 +02:00

71 lines
1.6 KiB
Plaintext

# https://wiki.alpinelinux.org/wiki/MariaDB
# inception modifications :
#
# [mysqld] :
# < socket=/run/mysqld/mysqld.sock
# >
#
# [mysqld] :
# < skip-networking = false
# > skip-networking
# ---
# < datadir = /var/lib/mysql
# >
# ---
# < port = 3306
# >
# ---
# < socket=/run/mysqld/mysqld.sock
# >
#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
# this is read by the standalone daemon and embedded servers
[server]
socket=/run/mysqld/mysqld.sock
# this is only for the mysqld standalone daemon
[mysqld]
skip-networking = false
datadir = /var/lib/mysql
port = 3306
socket=/run/mysqld/mysqld.sock
# sock was in : /run/mysqld/mysqld.sock
# mariadb thought it was in : /var/lib/mysql/mysql.sock
# so I made : ln -s /run/mysqld/mysqld.sock /var/lib/mysql/mysql.sock
# Galera-related settings
[galera]
# Mandatory settings
#wsrep_on=ON
#wsrep_provider=
#wsrep_cluster_address=
#binlog_format=row
#default_storage_engine=InnoDB
#innodb_autoinc_lock_mode=2
#
# Allow server to accept connections on all interfaces.
#
#bind-address=0.0.0.0
#
# Optional setting
#wsrep_slave_threads=1
#innodb_flush_log_at_trx_commit=0
# this is only for embedded server
[embedded]
# This group is only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]
# This group is only read by MariaDB-10.5 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mariadb-10.5]