mirror of
https://github.com/MariaDB/server.git
synced 2025-05-31 08:42:45 +03:00
- updated sample my.cnf files: removed deprecated set-variable keywords
support-files/my-huge.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-large.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-medium.cnf.sh: - removed deprecated "set-variable" keywords from options support-files/my-small.cnf.sh: - removed deprecated "set-variable" keywords from options
This commit is contained in:
parent
2d1411dffa
commit
2c2bc003e2
@ -26,21 +26,21 @@ socket = @MYSQL_UNIX_ADDR@
|
|||||||
port = @MYSQL_TCP_PORT@
|
port = @MYSQL_TCP_PORT@
|
||||||
socket = @MYSQL_UNIX_ADDR@
|
socket = @MYSQL_UNIX_ADDR@
|
||||||
skip-locking
|
skip-locking
|
||||||
set-variable = key_buffer=384M
|
key_buffer = 384M
|
||||||
set-variable = max_allowed_packet=1M
|
max_allowed_packet = 1M
|
||||||
set-variable = table_cache=512
|
table_cache = 512
|
||||||
set-variable = sort_buffer_size=2M
|
sort_buffer_size = 2M
|
||||||
set-variable = read_buffer_size=2M
|
read_buffer_size = 2M
|
||||||
set-variable = myisam_sort_buffer_size=64M
|
myisam_sort_buffer_size = 64M
|
||||||
set-variable = thread_cache=8
|
thread_cache = 8
|
||||||
# Try number of CPU's*2 for thread_concurrency
|
# Try number of CPU's*2 for thread_concurrency
|
||||||
set-variable = thread_concurrency=8
|
thread_concurrency = 8
|
||||||
|
|
||||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||||
# if all processes that need to connect to mysqld run on the same host.
|
# if all processes that need to connect to mysqld run on the same host.
|
||||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||||
# Note that using this option without enabling named pipes on Windows
|
# Note that using this option without enabling named pipes on Windows
|
||||||
# (via the "pipe" option) will render mysqld useless!
|
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||||
#
|
#
|
||||||
#skip-networking
|
#skip-networking
|
||||||
|
|
||||||
@ -113,8 +113,8 @@ server-id = 1
|
|||||||
#log-update = /path-to-dedicated-directory/hostname
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
# Uncomment the following if you are using BDB tables
|
# Uncomment the following if you are using BDB tables
|
||||||
#set-variable = bdb_cache_size=384M
|
#bdb_cache_size = 384M
|
||||||
#set-variable = bdb_max_lock=100000
|
#bdb_max_lock = 100000
|
||||||
|
|
||||||
# Uncomment the following if you are using InnoDB tables
|
# Uncomment the following if you are using InnoDB tables
|
||||||
#innodb_data_home_dir = @localstatedir@/
|
#innodb_data_home_dir = @localstatedir@/
|
||||||
@ -123,17 +123,17 @@ server-id = 1
|
|||||||
#innodb_log_arch_dir = @localstatedir@/
|
#innodb_log_arch_dir = @localstatedir@/
|
||||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||||
# of RAM but beware of setting memory usage too high
|
# of RAM but beware of setting memory usage too high
|
||||||
#set-variable = innodb_buffer_pool_size=384M
|
#innodb_buffer_pool_size = 384M
|
||||||
#set-variable = innodb_additional_mem_pool_size=20M
|
#innodb_additional_mem_pool_size = 20M
|
||||||
# Set .._log_file_size to 25 % of buffer pool size
|
# Set .._log_file_size to 25 % of buffer pool size
|
||||||
#set-variable = innodb_log_file_size=100M
|
#innodb_log_file_size = 100M
|
||||||
#set-variable = innodb_log_buffer_size=8M
|
#innodb_log_buffer_size = 8M
|
||||||
#innodb_flush_log_at_trx_commit=1
|
#innodb_flush_log_at_trx_commit = 1
|
||||||
#set-variable = innodb_lock_wait_timeout=50
|
#innodb_lock_wait_timeout = 50
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
set-variable = max_allowed_packet=16M
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
no-auto-rehash
|
no-auto-rehash
|
||||||
@ -141,16 +141,16 @@ no-auto-rehash
|
|||||||
#safe-updates
|
#safe-updates
|
||||||
|
|
||||||
[isamchk]
|
[isamchk]
|
||||||
set-variable = key_buffer=256M
|
key_buffer = 256M
|
||||||
set-variable = sort_buffer_size=256M
|
sort_buffer_size = 256M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[myisamchk]
|
[myisamchk]
|
||||||
set-variable = key_buffer=256M
|
key_buffer = 256M
|
||||||
set-variable = sort_buffer_size=256M
|
sort_buffer_size = 256M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[mysqlhotcopy]
|
[mysqlhotcopy]
|
||||||
interactive-timeout
|
interactive-timeout
|
||||||
|
@ -26,21 +26,21 @@ socket = @MYSQL_UNIX_ADDR@
|
|||||||
port = @MYSQL_TCP_PORT@
|
port = @MYSQL_TCP_PORT@
|
||||||
socket = @MYSQL_UNIX_ADDR@
|
socket = @MYSQL_UNIX_ADDR@
|
||||||
skip-locking
|
skip-locking
|
||||||
set-variable = key_buffer=256M
|
key_buffer = 256M
|
||||||
set-variable = max_allowed_packet=1M
|
max_allowed_packet = 1M
|
||||||
set-variable = table_cache=256
|
table_cache = 256
|
||||||
set-variable = sort_buffer_size=1M
|
sort_buffer_size = 1M
|
||||||
set-variable = read_buffer_size=1M
|
read_buffer_size = 1M
|
||||||
set-variable = myisam_sort_buffer_size=64M
|
myisam_sort_buffer_size = 64M
|
||||||
set-variable = thread_cache=8
|
thread_cache = 8
|
||||||
# Try number of CPU's*2 for thread_concurrency
|
# Try number of CPU's*2 for thread_concurrency
|
||||||
set-variable = thread_concurrency=8
|
thread_concurrency = 8
|
||||||
|
|
||||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||||
# if all processes that need to connect to mysqld run on the same host.
|
# if all processes that need to connect to mysqld run on the same host.
|
||||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||||
# Note that using this option without enabling named pipes on Windows
|
# Note that using this option without enabling named pipes on Windows
|
||||||
# (via the "pipe" option) will render mysqld useless!
|
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||||
#
|
#
|
||||||
#skip-networking
|
#skip-networking
|
||||||
|
|
||||||
@ -113,8 +113,8 @@ server-id = 1
|
|||||||
#log-update = /path-to-dedicated-directory/hostname
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
# Uncomment the following if you are using BDB tables
|
# Uncomment the following if you are using BDB tables
|
||||||
#set-variable = bdb_cache_size=64M
|
#bdb_cache_size = 64M
|
||||||
#set-variable = bdb_max_lock=100000
|
#bdb_max_lock = 100000
|
||||||
|
|
||||||
# Uncomment the following if you are using InnoDB tables
|
# Uncomment the following if you are using InnoDB tables
|
||||||
#innodb_data_home_dir = @localstatedir@/
|
#innodb_data_home_dir = @localstatedir@/
|
||||||
@ -123,17 +123,17 @@ server-id = 1
|
|||||||
#innodb_log_arch_dir = @localstatedir@/
|
#innodb_log_arch_dir = @localstatedir@/
|
||||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||||
# of RAM but beware of setting memory usage too high
|
# of RAM but beware of setting memory usage too high
|
||||||
#set-variable = innodb_buffer_pool_size=256M
|
#innodb_buffer_pool_size = 256M
|
||||||
#set-variable = innodb_additional_mem_pool_size=20M
|
#innodb_additional_mem_pool_size = 20M
|
||||||
# Set .._log_file_size to 25 % of buffer pool size
|
# Set .._log_file_size to 25 % of buffer pool size
|
||||||
#set-variable = innodb_log_file_size=64M
|
#innodb_log_file_size = 64M
|
||||||
#set-variable = innodb_log_buffer_size=8M
|
#innodb_log_buffer_size = 8M
|
||||||
#innodb_flush_log_at_trx_commit=1
|
#innodb_flush_log_at_trx_commit = 1
|
||||||
#set-variable = innodb_lock_wait_timeout=50
|
#innodb_lock_wait_timeout = 50
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
set-variable = max_allowed_packet=16M
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
no-auto-rehash
|
no-auto-rehash
|
||||||
@ -141,16 +141,16 @@ no-auto-rehash
|
|||||||
#safe-updates
|
#safe-updates
|
||||||
|
|
||||||
[isamchk]
|
[isamchk]
|
||||||
set-variable = key_buffer=128M
|
key_buffer = 128M
|
||||||
set-variable = sort_buffer_size=128M
|
sort_buffer_size = 128M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[myisamchk]
|
[myisamchk]
|
||||||
set-variable = key_buffer=128M
|
key_buffer = 128M
|
||||||
set-variable = sort_buffer_size=128M
|
sort_buffer_size = 128M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[mysqlhotcopy]
|
[mysqlhotcopy]
|
||||||
interactive-timeout
|
interactive-timeout
|
||||||
|
@ -27,18 +27,18 @@ socket = @MYSQL_UNIX_ADDR@
|
|||||||
port = @MYSQL_TCP_PORT@
|
port = @MYSQL_TCP_PORT@
|
||||||
socket = @MYSQL_UNIX_ADDR@
|
socket = @MYSQL_UNIX_ADDR@
|
||||||
skip-locking
|
skip-locking
|
||||||
set-variable = key_buffer=16M
|
key_buffer = 16M
|
||||||
set-variable = max_allowed_packet=1M
|
max_allowed_packet = 1M
|
||||||
set-variable = table_cache=64
|
table_cache = 64
|
||||||
set-variable = sort_buffer_size=512K
|
sort_buffer_size = 512K
|
||||||
set-variable = net_buffer_length=8K
|
net_buffer_length = 8K
|
||||||
set-variable = myisam_sort_buffer_size=8M
|
myisam_sort_buffer_size = 8M
|
||||||
|
|
||||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||||
# if all processes that need to connect to mysqld run on the same host.
|
# if all processes that need to connect to mysqld run on the same host.
|
||||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||||
# Note that using this option without enabling named pipes on Windows
|
# Note that using this option without enabling named pipes on Windows
|
||||||
# (via the "pipe" option) will render mysqld useless!
|
# (via the "enable-named-pipe" option) will render mysqld useless!
|
||||||
#
|
#
|
||||||
#skip-networking
|
#skip-networking
|
||||||
|
|
||||||
@ -111,8 +111,8 @@ server-id = 1
|
|||||||
#log-update = /path-to-dedicated-directory/hostname
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
# Uncomment the following if you are using BDB tables
|
# Uncomment the following if you are using BDB tables
|
||||||
#set-variable = bdb_cache_size=4M
|
#bdb_cache_size = 4M
|
||||||
#set-variable = bdb_max_lock=10000
|
#bdb_max_lock = 10000
|
||||||
|
|
||||||
# Uncomment the following if you are using InnoDB tables
|
# Uncomment the following if you are using InnoDB tables
|
||||||
#innodb_data_home_dir = @localstatedir@/
|
#innodb_data_home_dir = @localstatedir@/
|
||||||
@ -121,17 +121,17 @@ server-id = 1
|
|||||||
#innodb_log_arch_dir = @localstatedir@/
|
#innodb_log_arch_dir = @localstatedir@/
|
||||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||||
# of RAM but beware of setting memory usage too high
|
# of RAM but beware of setting memory usage too high
|
||||||
#set-variable = innodb_buffer_pool_size=16M
|
#innodb_buffer_pool_size = 16M
|
||||||
#set-variable = innodb_additional_mem_pool_size=2M
|
#innodb_additional_mem_pool_size = 2M
|
||||||
# Set .._log_file_size to 25 % of buffer pool size
|
# Set .._log_file_size to 25 % of buffer pool size
|
||||||
#set-variable = innodb_log_file_size=5M
|
#innodb_log_file_size = 5M
|
||||||
#set-variable = innodb_log_buffer_size=8M
|
#innodb_log_buffer_size = 8M
|
||||||
#innodb_flush_log_at_trx_commit=1
|
#innodb_flush_log_at_trx_commit = 1
|
||||||
#set-variable = innodb_lock_wait_timeout=50
|
#innodb_lock_wait_timeout = 50
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
set-variable = max_allowed_packet=16M
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
no-auto-rehash
|
no-auto-rehash
|
||||||
@ -139,16 +139,16 @@ no-auto-rehash
|
|||||||
#safe-updates
|
#safe-updates
|
||||||
|
|
||||||
[isamchk]
|
[isamchk]
|
||||||
set-variable = key_buffer=20M
|
key_buffer = 20M
|
||||||
set-variable = sort_buffer_size=20M
|
sort_buffer_size = 20M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[myisamchk]
|
[myisamchk]
|
||||||
set-variable = key_buffer=20M
|
key_buffer = 20M
|
||||||
set-variable = sort_buffer_size=20M
|
sort_buffer_size = 20M
|
||||||
set-variable = read_buffer=2M
|
read_buffer = 2M
|
||||||
set-variable = write_buffer=2M
|
write_buffer = 2M
|
||||||
|
|
||||||
[mysqlhotcopy]
|
[mysqlhotcopy]
|
||||||
interactive-timeout
|
interactive-timeout
|
||||||
|
@ -27,18 +27,18 @@ socket = @MYSQL_UNIX_ADDR@
|
|||||||
port = @MYSQL_TCP_PORT@
|
port = @MYSQL_TCP_PORT@
|
||||||
socket = @MYSQL_UNIX_ADDR@
|
socket = @MYSQL_UNIX_ADDR@
|
||||||
skip-locking
|
skip-locking
|
||||||
set-variable = key_buffer=16K
|
key_buffer = 16K
|
||||||
set-variable = max_allowed_packet=1M
|
max_allowed_packet = 1M
|
||||||
set-variable = table_cache=4
|
table_cache = 4
|
||||||
set-variable = sort_buffer_size=64K
|
sort_buffer_size = 64K
|
||||||
set-variable = net_buffer_length=2K
|
net_buffer_length = 2K
|
||||||
set-variable = thread_stack=64K
|
thread_stack = 64K
|
||||||
|
|
||||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||||
# if all processes that need to connect to mysqld run on the same host.
|
# if all processes that need to connect to mysqld run on the same host.
|
||||||
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
# All interaction with mysqld must be made via Unix sockets or named pipes.
|
||||||
# Note that using this option without enabling named pipes on Windows
|
# Note that using this option without enabling named pipes on Windows
|
||||||
# (via the "pipe" option) will render mysqld useless!
|
# (using the "enable-named-pipe" option) will render mysqld useless!
|
||||||
#
|
#
|
||||||
#skip-networking
|
#skip-networking
|
||||||
server-id = 1
|
server-id = 1
|
||||||
@ -56,17 +56,17 @@ server-id = 1
|
|||||||
#innodb_log_arch_dir = @localstatedir@/
|
#innodb_log_arch_dir = @localstatedir@/
|
||||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||||
# of RAM but beware of setting memory usage too high
|
# of RAM but beware of setting memory usage too high
|
||||||
#set-variable = innodb_buffer_pool_size=16M
|
#innodb_buffer_pool_size = 16M
|
||||||
#set-variable = innodb_additional_mem_pool_size=2M
|
#innodb_additional_mem_pool_size = 2M
|
||||||
# Set .._log_file_size to 25 % of buffer pool size
|
# Set .._log_file_size to 25 % of buffer pool size
|
||||||
#set-variable = innodb_log_file_size=5M
|
#innodb_log_file_size = 5M
|
||||||
#set-variable = innodb_log_buffer_size=8M
|
#innodb_log_buffer_size = 8M
|
||||||
#innodb_flush_log_at_trx_commit=1
|
#innodb_flush_log_at_trx_commit = 1
|
||||||
#set-variable = innodb_lock_wait_timeout=50
|
#innodb_lock_wait_timeout = 50
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
set-variable = max_allowed_packet=16M
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
no-auto-rehash
|
no-auto-rehash
|
||||||
@ -74,12 +74,12 @@ no-auto-rehash
|
|||||||
#safe-updates
|
#safe-updates
|
||||||
|
|
||||||
[isamchk]
|
[isamchk]
|
||||||
set-variable = key_buffer=8M
|
key_buffer = 8M
|
||||||
set-variable = sort_buffer_size=8M
|
sort_buffer_size = 8M
|
||||||
|
|
||||||
[myisamchk]
|
[myisamchk]
|
||||||
set-variable = key_buffer=8M
|
key_buffer = 8M
|
||||||
set-variable = sort_buffer_size=8M
|
sort_buffer_size = 8M
|
||||||
|
|
||||||
[mysqlhotcopy]
|
[mysqlhotcopy]
|
||||||
interactive-timeout
|
interactive-timeout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user