Skip to content

Instantly share code, notes, and snippets.

@tanchao90 tanchao90/my.cnf
Last active Sep 15, 2017

What would you like to do?
mysql-5.7.19 default config file
# 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
# * 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/

This comment has been minimized.

Copy link
Owner Author

tanchao90 commented Sep 15, 2017


  • Ubuntu 16.04.2 LTS
  • MySQL 5.7.19

Config File Path

  • The file's path is /etc/mysql/my.cnf.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.