跳转到内容

Mysql 默认配置

未改动,随时复制。

/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 redistri…

33 行 • MD5: 53ae2664... 查看 →
/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 redistri…

32 行 • MD5: dbe8b375... 查看 →
/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 redistri…

33 行 • MD5: 5e0569e1... 查看 →
/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 redistri…

29 行 • MD5: a57fde3e... 查看 →
/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-configurati…

31 行 • MD5: ea34d282... 查看 →
/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), 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 pas…

12 行 • MD5: e74d0ae2... 查看 →
/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), 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 w…

42 行 • MD5: 698c5abe... 查看 →
/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), 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:…

23 行 • MD5: 46a0151b... 查看 →
/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), 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 redistri…

32 行 • MD5: dbe8b375... 查看 →
/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), 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) shou…

134 行 • MD5: 073e3232... 查看 →
/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), 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_…

30 行 • MD5: ace3390e... 查看 →
/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 # …

24 行 • MD5: 593e2010... 查看 →
/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), 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…

22 行 • MD5: 5898a2c9... 查看 →
/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), 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 redistri…

29 行 • MD5: a57fde3e... 查看 →
/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), 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 m…

21 行 • MD5: e2f4b791... 查看 →
/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), Debian 13 (Trixie)

📍 Ubuntu 24.04 LTS (Noble Numbat)

[server] plugin_load_add=provider_snappy provider_snappy=force_plus_permanent

3 行 • MD5: 97735326... 查看 →
/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), Debian 13 (Trixie)

📍 Ubuntu 24.04 LTS (Noble Numbat)

[server] plugin_load_add=provider_lzo provider_lzo=force_plus_permanent

3 行 • MD5: 4753866a... 查看 →
/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), Debian 13 (Trixie)

📍 Ubuntu 24.04 LTS (Noble Numbat)

[server] plugin_load_add=provider_lzma provider_lzma=force_plus_permanent

3 行 • MD5: 69ea1a50... 查看 →
/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), Debian 13 (Trixie)

📍 Ubuntu 24.04 LTS (Noble Numbat)

[server] plugin_load_add=provider_lz4 provider_lz4=force_plus_permanent

3 行 • MD5: 5dc12c98... 查看 →
/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), Debian 13 (Trixie)

📍 Ubuntu 24.04 LTS (Noble Numbat)

[server] plugin_load_add=provider_bzip2 provider_bzip2=force_plus_permanent

3 行 • MD5: 6c0ab650... 查看 →

继续浏览

如果你想看更广的范围,可以按应用或发行版继续浏览。