MySQL - /etc/mysql/mysql.conf.d/mysqld.cnf

Pulled directly from an unmodified installation.

Quick Actions

๐Ÿ“ฅ Download Original mysqld.cnf

Configuration File Information

Configuration File Content

/etc/mysql/mysql.conf.d/mysqld.cnf
34 lines
# Copyright (c) 2014, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is also distributed with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms,
# as designated in a particular file or component or in included license
# documentation.  The authors of MySQL hereby grant you an additional
# permission to link the program and your derivative works with the
# separately licensed software that they have included with MySQL.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License, version 2.0, for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA

#
# The MySQL  Server configuration file.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

[mysqld]
pid-file	= /var/run/mysqld/mysqld.pid
socket		= /var/run/mysqld/mysqld.sock
datadir		= /var/lib/mysql
log-error	= /var/log/mysql/error.log

        

Download Commands

mysqld.cnf โ€ข

Download the 100% original unaltered configuration file pulled from MySQL

Using wget:

wget -O mysqld.cnf.example https://exampleconfig.com/api/v1/config/original/5e0569e12ba9af566f2a3db1c40d7b29?hint=mysqld.cnf

Using curl:

curl https://exampleconfig.com/api/v1/config/original/5e0569e12ba9af566f2a3db1c40d7b29?hint=mysqld.cnf > mysqld.cnf.example

Related Configuration Files

Technical Details

File Location
/etc/mysql/mysql.conf.d/mysqld.cnf
Platform
Linux
File Size
34 lines
Application
MySQL
MD5 Checksum
5e0569e12ba9af566f2a3db1c40d7b29
SHA256 Checksum
02ad4536d09601cce66c6dda4650b5681062e72bf345ef6b13e78baa9e1994c8