/etc/mysql/mysql.cnf - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of mysql.cnf provided by MySQL. This config file was generated by MySQL running on Ubuntu 16.04.

It is located under: /etc/mysql/mysql.cnf

    #
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
# 
# 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.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

#
# * IMPORTANT: Additional settings that can override those from this file!
#   The files must end with '.cnf', otherwise they'll be ignored.
#

!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/

    
  

Config Details

Location
/etc/mysql/mysql.cnf
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
21 lines
MD5 checksum
f5d3113b607567fd2ce955f4279fa9ce

Usage

Download the raw file with wget or curl

Wget

wget -O mysql.cnf.example http://exampleconfig.com/static/raw/mysql/ubuntu16.04/etc/mysql/mysql.cnf

cURL

curl http://exampleconfig.com/static/raw/mysql/ubuntu16.04/etc/mysql/mysql.cnf > mysql.cnf.example