Skip to content

Instantly share code, notes, and snippets.

@mansurali901
Created March 16, 2018 22:24
Show Gist options
  • Save mansurali901/d4f6d63439d5be3d60ec53d032cec8e1 to your computer and use it in GitHub Desktop.
Save mansurali901/d4f6d63439d5be3d60ec53d032cec8e1 to your computer and use it in GitHub Desktop.
#This COnfiguraion is written by Mansur ul Hasan
# The MySQL Server 5.7 configuration file.
#
# 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
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
port = 3306
basedir = /usr/local/mysql
datadir=data
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
explicit_defaults_for_timestamp
log-error = /var/log/mysqld.log
# Recommended in standard MySQL setup
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment