mysql config

Solutions on MaxInterview for mysql config by the best coders in the world

showing results for - "mysql config"
Mads
16 Jul 2017
1# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; version 2 of the License.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10# GNU General Public License for more details.
11#
12# You should have received a copy of the GNU General Public License
13# along with this program; if not, write to the Free Software
14# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
15
16#
17# The MySQL  Server configuration file.
18#
19# For explanations see
20# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
21
22[mysqld]
23pid-file         = /var/run/mysqld/mysqld.pid
24socket           = /var/run/mysqld/mysqld.sock
25datadir          = /var/lib/mysql
26tmpdir					 = /tmp
27sql_mode = "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
28secure-file-priv = NULL
29
30# Custom config should go here
31!includedir /etc/mysql/conf.d/