192 |
- |
1 |
#
|
|
|
2 |
# These groups are read by MariaDB server.
|
|
|
3 |
# Use it for options that only the server (but not clients) should see
|
|
|
4 |
#
|
|
|
5 |
# See the examples of server my.cnf files in /usr/share/mysql/
|
|
|
6 |
#
|
|
|
7 |
|
|
|
8 |
# this is read by the standalone daemon and embedded servers
|
|
|
9 |
[server]
|
|
|
10 |
|
|
|
11 |
# this is only for the mysqld standalone daemon
|
|
|
12 |
# Settings user and group are ignored when systemd is used.
|
|
|
13 |
# If you need to run mysqld under a different user or group,
|
|
|
14 |
# customize your systemd unit file for mysqld/mariadb according to the
|
|
|
15 |
# instructions in http://fedoraproject.org/wiki/Systemd
|
|
|
16 |
[mysqld]
|
|
|
17 |
datadir=/var/lib/mysql
|
|
|
18 |
socket=/var/lib/mysql/mysql.sock
|
|
|
19 |
log-error=/var/log/mariadb/mariadb.log
|
|
|
20 |
pid-file=/run/mariadb/mariadb.pid
|
|
|
21 |
event_scheduler = ON
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
#
|
|
|
25 |
# * Galera-related settings
|
|
|
26 |
#
|
|
|
27 |
[galera]
|
|
|
28 |
# Mandatory settings
|
|
|
29 |
#wsrep_on=ON
|
|
|
30 |
#wsrep_provider=
|
|
|
31 |
#wsrep_cluster_address=
|
|
|
32 |
#binlog_format=row
|
|
|
33 |
#default_storage_engine=InnoDB
|
|
|
34 |
#innodb_autoinc_lock_mode=2
|
|
|
35 |
#
|
|
|
36 |
# Allow server to accept connections on all interfaces.
|
|
|
37 |
#
|
|
|
38 |
#bind-address=0.0.0.0
|
|
|
39 |
#
|
|
|
40 |
# Optional setting
|
|
|
41 |
#wsrep_slave_threads=1
|
|
|
42 |
#innodb_flush_log_at_trx_commit=0
|
|
|
43 |
|
|
|
44 |
# this is only for embedded server
|
|
|
45 |
[embedded]
|
|
|
46 |
|
|
|
47 |
# This group is only read by MariaDB servers, not by MySQL.
|
|
|
48 |
# If you use the same .cnf file for MySQL and MariaDB,
|
|
|
49 |
# you can put MariaDB-only options here
|
|
|
50 |
[mariadb]
|
|
|
51 |
|
|
|
52 |
# This group is only read by MariaDB-10.3 servers.
|
|
|
53 |
# If you use the same .cnf file for MariaDB of different versions,
|
|
|
54 |
# use this group for options that older servers don't understand
|
|
|
55 |
[mariadb-10.3]
|
|
|
56 |
|