mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
45 lines
1.3 KiB
INI
45 lines
1.3 KiB
INI
#
|
|
# The MySQL database server configuration file.
|
|
#
|
|
# One can use all long options that the program supports.
|
|
# Run program with --help to get a list of available options and with
|
|
# --print-defaults to see which it would actually understand and use.
|
|
#
|
|
# For explanations see
|
|
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
|
|
|
# Here is entries for some specific programs
|
|
# The following values assume you have at least 32M ram
|
|
|
|
[mysqld]
|
|
#
|
|
# * Basic Settings
|
|
#
|
|
#user = mysql
|
|
# pid-file = /var/run/mysqld/mysqld.pid
|
|
# socket = /var/run/mysqld/mysqld.sock
|
|
# port = 3306
|
|
# datadir = /var/lib/mysql
|
|
|
|
|
|
# If MySQL is running as a replication slave, this should be
|
|
# changed. Ref https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmpdir
|
|
# tmpdir = /tmp
|
|
#
|
|
# Instead of skip-networking the default is now to listen only on
|
|
# localhost which is more compatible and is not less secure.
|
|
bind-address = 0.0.0.0
|
|
mysqlx-bind-address = 0.0.0.0
|
|
|
|
performance_schema_max_table_instances=400
|
|
# 缓存
|
|
table_definition_cache=400
|
|
# 关闭监控
|
|
performance_schema=off
|
|
# 打开表的缓存
|
|
table_open_cache=64
|
|
# InnoDB缓冲池大小调整操作的块大小
|
|
innodb_buffer_pool_chunk_size=64M
|
|
# InnoDB 存储引擎的表数据和索引数据的最大内存缓冲区大小
|
|
innodb_buffer_pool_size=64M
|