MariaDB - /etc/mysql/mariadb.cnf

Pulled directly from an unmodified installation.

Quick Actions

๐Ÿ“ฅ Download Original mariadb.cnf

Configuration File Information

Configuration File Content

/etc/mysql/mariadb.cnf
30 lines
# The MariaDB configuration file
#
# The MariaDB/MySQL tools read configuration files in the following order:
# 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
# 4. "~/.my.cnf" to set user-specific options.
#
# If the same option is defined multiple times, the last one will apply.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/

#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]
# Port or socket location where to connect
# port = 3306
socket = /run/mysqld/mysqld.sock

# Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/

        

Download Commands

mariadb.cnf โ€ข

Download the 100% original unaltered configuration file pulled from MariaDB

Using wget:

wget -O mariadb.cnf.example https://exampleconfig.com/api/v1/config/original/f78499dd07dccc3238cc15dd937b87bb?hint=mariadb.cnf

Using curl:

curl https://exampleconfig.com/api/v1/config/original/f78499dd07dccc3238cc15dd937b87bb?hint=mariadb.cnf > mariadb.cnf.example

Related Configuration Files

Technical Details

File Location
/etc/mysql/mariadb.cnf
Platform
Linux
File Size
30 lines
Application
MariaDB
Compatible Versions
MD5 Checksum
f78499dd07dccc3238cc15dd937b87bb
SHA256 Checksum
65084b5344fcbae09425c648a9bfb1ff99c1fd0d83f1eff5bc08bf8032de8981