Mysql Default Configs
Untouched MySQL defaults from fresh installs
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,β¦
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,β¦
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,β¦
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,β¦
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 β¦
MariaDB - /etc/mysql/debian.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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 β¦
MariaDB - /etc/mysql/debian-start
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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β¦
MariaDB - /etc/mysql/mariadb.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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β¦
MariaDB - /etc/mysql/my.cnf.fallback
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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,β¦
MariaDB - /etc/mysql/mariadb.conf.d/50-server.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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 β¦
MariaDB - /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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β¦
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β¦
MariaDB - /etc/mysql/mariadb.conf.d/50-client.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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β¦
MariaDB - /etc/mysql/conf.d/mysql.cnf
π Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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,β¦
MariaDB - /etc/mysql/mariadb.conf.d/60-galera.cnf
π Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)
π 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 β¦
MariaDB - /etc/mysql/mariadb.conf.d/provider_snappy.cnf
π Debian 12 (Bookworm), Debian 13 (Trixie)
π Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_snappy provider_snappy=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lzo.cnf
π Debian 12 (Bookworm), Debian 13 (Trixie)
π Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lzo provider_lzo=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lzma.cnf
π Debian 12 (Bookworm), Debian 13 (Trixie)
π Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lzma provider_lzma=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lz4.cnf
π Debian 12 (Bookworm), Debian 13 (Trixie)
π Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lz4 provider_lz4=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_bzip2.cnf
π Debian 12 (Bookworm), Debian 13 (Trixie)
π Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_bzip2 provider_bzip2=force_plus_permanent
Browse All
All configs. All distros.