mirror of https://github.com/veops/cmdb.git
55 lines
2.2 KiB
Python
55 lines
2.2 KiB
Python
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
|
|
#
|
|
# 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]
|
|
character-set-server = utf8
|
|
collation-server = utf8_unicode_ci
|
|
skip-character-set-client-handshake
|
|
pid-file = /var/run/mysqld/mysqld.pid
|
|
socket = /var/run/mysqld/mysqld.sock
|
|
datadir = /var/lib/mysql
|
|
default-storage-engine=INNODB
|
|
# Disabling symbolic-links is recommended to prevent assorted security risks
|
|
skip-external-locking
|
|
key_buffer_size=16M
|
|
max_allowed_packet=4M
|
|
table_open_cache=64
|
|
sort_buffer_size=512K
|
|
net_buffer_length=8K
|
|
read_buffer_size=256K
|
|
read_rnd_buffer_size=512K
|
|
skip-name-resolve
|
|
max_connections=1000
|
|
slow_query_log = ON
|
|
slow_query_log_file = /var/log/mysql_slow.log
|
|
long_query_time = 1
|
|
sql_mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
|
|
#log-error = /var/log/mysql/error.log
|
|
# By default we only accept connections from localhost
|
|
#bind-address = 127.0.0.1
|
|
# Disabling symbolic-links is recommended to prevent assorted security risks |