mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 05:06:12 +08:00
71 lines
2.5 KiB
INI
71 lines
2.5 KiB
INI
# Copyright (c) 2015, 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
|
|
|
|
# * IMPORTANT: Additional settings that can override those from this file!
|
|
# The files must end with '.cnf', otherwise they'll be ignored.
|
|
#
|
|
|
|
[mysqld]
|
|
#
|
|
# Remove leading # and set to the amount of RAM for the most important data
|
|
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
|
# innodb_buffer_pool_size = 128M
|
|
#
|
|
# Remove leading # to turn on a very important data integrity option: logging
|
|
# changes to the binary log between backups.
|
|
# log_bin
|
|
#
|
|
# Remove leading # to set options mainly useful for reporting servers.
|
|
# The server defaults are faster for transactions and fast SELECTs.
|
|
# Adjust sizes as needed, experiment to find the optimal values.
|
|
# join_buffer_size = 128M
|
|
# sort_buffer_size = 2M
|
|
# read_rnd_buffer_size = 2M
|
|
skip-host-cache
|
|
skip-name-resolve
|
|
datadir=/var/lib/mysql
|
|
socket=/var/run/mysqld/mysqld.sock
|
|
secure-file-priv=/var/lib/mysql-files
|
|
user=mysql
|
|
|
|
# Disabling symbolic-links is recommended to prevent assorted security risks
|
|
symbolic-links=0
|
|
|
|
#log-error=/var/log/mysqld.log
|
|
pid-file=/var/run/mysqld/mysqld.pid
|
|
|
|
max_allowed_packet=64M
|
|
character_set_server=utf8
|
|
lower_case_table_names=1
|
|
group_concat_max_len=1024000
|
|
|
|
[client]
|
|
socket=/var/run/mysqld/mysqld.sock
|
|
|
|
!includedir /etc/mysql/conf.d/
|
|
!includedir /etc/mysql/mysql.conf.d/ |