Skip to content

Instantly share code, notes, and snippets.

@niceonionslice
Created September 24, 2017 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niceonionslice/b047fe6f3fb474527e13e9ff59dfc536 to your computer and use it in GitHub Desktop.
Save niceonionslice/b047fe6f3fb474527e13e9ff59dfc536 to your computer and use it in GitHub Desktop.
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
#
# The MySQL Community Server configuration file.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
default-character-set = utf8
[mysqld_safe]
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
explicit_defaults_for_timestamp
character-set-server = utf8
expire_logs_days = 2
default-time-zone = '+9:00'
log-error = /var/log/mysql/error.log
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
symbolic-links=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment