100% Free & Open

Mysql Configuration Files

Original, unaltered MySQL config files from fresh installations

20 Mysql Configuration Files

Original, unaltered configurations from fresh installations

/etc/mysql/mysql.cnf
MySQL Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MySQL - /etc/mysql/mysql.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
34 lines β€’ MD5: 53ae2664... Click to view full file
/etc/mysql/my.cnf.fallback
MySQL Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MySQL - /etc/mysql/my.cnf.fallback

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
33 lines β€’ MD5: dbe8b375... Click to view full file
/etc/mysql/mysql.conf.d/mysqld.cnf
MySQL Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MySQL - /etc/mysql/mysql.conf.d/mysqld.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2014, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
34 lines β€’ MD5: 5e0569e1... Click to view full file
/etc/mysql/conf.d/mysql.cnf
MySQL Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MySQL - /etc/mysql/conf.d/mysql.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
30 lines β€’ MD5: a57fde3e... Click to view full file
/etc/my.cnf
MySQL Red Hat Enterprise Linux 8 (Ootpa) CentOS Stream 9

MySQL - /etc/my.cnf

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

[mysqld]
#
# Remove leading # and set to the amount of RAM for the most …
32 lines β€’ MD5: ea34d282... Click to view full file
/etc/mysql/debian.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/debian.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host     = localhost
user     = root
password = 
socket   = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host     = localhost
user …
13 lines β€’ MD5: e74d0ae2... Click to view full file
/etc/mysql/debian-start
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/debian-start

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#!/bin/bash
#
# This script is executed by "/etc/init.d/mysql" on every (re)start.
#
# Changes to this file will be preserved when updating the Debian package.
#
# NOTE: This file is read only by the…
43 lines β€’ MD5: 698c5abe... Click to view full file
/etc/mysql/mariadb.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/mariadb.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# The MariaDB configuration file
#
# The MariaDB/MySQL tools read configuration files in the following order:
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
# 2. "/etc/mysql/conf.d…
24 lines β€’ MD5: 46a0151b... Click to view full file
/etc/mysql/my.cnf.fallback
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/my.cnf.fallback

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
33 lines β€’ MD5: dbe8b375... Click to view full file
/etc/mysql/mariadb.conf.d/50-server.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/mariadb.conf.d/50-server.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#

# this is read …
135 lines β€’ MD5: 073e3232... Click to view full file
/etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# NOTE: This file is read only by the traditional SysV init script, not systemd.
# MariaDB systemd does _not_ utilize mysqld_safe nor read this file.
#
# For similar behaviour, systemd users should c…
31 lines β€’ MD5: ace3390e... Click to view full file
/etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#
# These groups are read by MariaDB command-line tools
# Use it for options that affect only one utility
#

[mysql]
# Default is Latin1, if you need UTF-8 set this (also in server section)
default-c…
25 lines β€’ MD5: 593e2010... Click to view full file
/etc/mysql/mariadb.conf.d/50-client.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/mariadb.conf.d/50-client.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#
# This group is read by the client library
# Use it for options that affect all clients, but not the server
#

[client]
# Default is Latin1, if you need UTF-8 set this (also in server section)
defa…
23 lines β€’ MD5: 5898a2c9... Click to view full file
/etc/mysql/conf.d/mysql.cnf
MariaDB Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

MariaDB - /etc/mysql/conf.d/mysql.cnf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,…
30 lines β€’ MD5: a57fde3e... Click to view full file
/etc/mysql/mariadb.conf.d/60-galera.cnf
MariaDB Debian 11 (Bullseye) Ubuntu 22.04 LTS (Jammy Jellyfish)

MariaDB - /etc/mysql/mariadb.conf.d/60-galera.cnf

πŸ“ Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#
# * Galera-related settings
#
# See the examples of server wsrep.cnf files in /usr/share/mysql
# and read more at https://mariadb.com/kb/en/galera-cluster/

[galera]
# Mandatory settings
#wsrep_on …
22 lines β€’ MD5: e2f4b791... Click to view full file
/etc/mysql/mariadb.conf.d/provider_snappy.cnf
MariaDB Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

MariaDB - /etc/mysql/mariadb.conf.d/provider_snappy.cnf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[server]
plugin_load_add=provider_snappy
provider_snappy=force_plus_permanent
4 lines β€’ MD5: 97735326... Click to view full file
/etc/mysql/mariadb.conf.d/provider_lzo.cnf
MariaDB Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

MariaDB - /etc/mysql/mariadb.conf.d/provider_lzo.cnf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[server]
plugin_load_add=provider_lzo
provider_lzo=force_plus_permanent
4 lines β€’ MD5: 4753866a... Click to view full file
/etc/mysql/mariadb.conf.d/provider_lzma.cnf
MariaDB Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

MariaDB - /etc/mysql/mariadb.conf.d/provider_lzma.cnf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[server]
plugin_load_add=provider_lzma
provider_lzma=force_plus_permanent
4 lines β€’ MD5: 69ea1a50... Click to view full file
/etc/mysql/mariadb.conf.d/provider_lz4.cnf
MariaDB Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

MariaDB - /etc/mysql/mariadb.conf.d/provider_lz4.cnf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[server]
plugin_load_add=provider_lz4
provider_lz4=force_plus_permanent
4 lines β€’ MD5: 5dc12c98... Click to view full file
/etc/mysql/mariadb.conf.d/provider_bzip2.cnf
MariaDB Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

MariaDB - /etc/mysql/mariadb.conf.d/provider_bzip2.cnf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[server]
plugin_load_add=provider_bzip2
provider_bzip2=force_plus_permanent
4 lines β€’ MD5: 6c0ab650... Click to view full file