From c07354b5dcddabc7a493af00acc24b9ac237638d Mon Sep 17 00:00:00 2001 From: Daniel Fischer Date: Tue, 31 Mar 2009 11:54:48 +0200 Subject: Bug#34521, removed a bunch of deprecated options from template my.cnf files: - Removed entire isamchk section. Support for ISAM tables was removed in 5.0. - Replaced key_buffer with key_buffer_size (correct spelling). - Removed skip-bdb, as BDB is no longer included in 5.0 and above. - Removed commented-out bdb_cache_size and bdb_max_lock for the same reason. - Removed commented-out innodb_log_arch_dir, deprecated in 5.0.24. - Removed myisam_max_extra_sort_file_size, deprecated in 5.0.6. - Removed log_long_format, deprecated in 4.1. - Replaced default_table_type with default-storage-engine. --- support-files/my-medium.cnf.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'support-files/my-medium.cnf.sh') diff --git a/support-files/my-medium.cnf.sh b/support-files/my-medium.cnf.sh index c3135ea2c2b..e299add99d7 100644 --- a/support-files/my-medium.cnf.sh +++ b/support-files/my-medium.cnf.sh @@ -27,7 +27,7 @@ socket = @MYSQL_UNIX_ADDR@ port = @MYSQL_TCP_PORT@ socket = @MYSQL_UNIX_ADDR@ skip-locking -key_buffer = 16M +key_buffer_size = 16M max_allowed_packet = 1M table_cache = 64 sort_buffer_size = 512K @@ -115,15 +115,10 @@ server-id = 1 #tmpdir = /tmp/ #log-update = /path-to-dedicated-directory/hostname -# Uncomment the following if you are using BDB tables -#bdb_cache_size = 4M -#bdb_max_lock = 10000 - # Uncomment the following if you are using InnoDB tables #innodb_data_home_dir = @localstatedir@/ #innodb_data_file_path = ibdata1:10M:autoextend #innodb_log_group_home_dir = @localstatedir@/ -#innodb_log_arch_dir = @localstatedir@/ # You can set .._buffer_pool_size up to 50 - 80 % # of RAM but beware of setting memory usage too high #innodb_buffer_pool_size = 16M @@ -143,14 +138,8 @@ no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates -[isamchk] -key_buffer = 20M -sort_buffer_size = 20M -read_buffer = 2M -write_buffer = 2M - [myisamchk] -key_buffer = 20M +key_buffer_size = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M -- cgit v1.2.1