summaryrefslogtreecommitdiff
path: root/support-files/my-medium.cnf.sh
diff options
context:
space:
mode:
authorDaniel Fischer <df@sun.com>2009-03-31 16:04:01 +0200
committerDaniel Fischer <df@sun.com>2009-03-31 16:04:01 +0200
commitaf8393a6a63bc9fd0b8126c31903975e46d34542 (patch)
treeced34788cb147af275f1635d202b713c947f3456 /support-files/my-medium.cnf.sh
parenteb5ef513271a23a06aa7369175fbdbf799218446 (diff)
parentc07354b5dcddabc7a493af00acc24b9ac237638d (diff)
downloadmariadb-git-af8393a6a63bc9fd0b8126c31903975e46d34542.tar.gz
Bug#34521, removed a bunch of deprecated options from template my.cnf files.
Merged from 5.0 version of this patch: - 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. New in 5.1: - Replaced table_cache with table_open_cache. - Removed skip-federated, should have been in 5.0 only. - Replaced log_slow_queries with slow_query_log, deprecated in 5.1.29.
Diffstat (limited to 'support-files/my-medium.cnf.sh')
-rw-r--r--support-files/my-medium.cnf.sh15
1 files changed, 3 insertions, 12 deletions
diff --git a/support-files/my-medium.cnf.sh b/support-files/my-medium.cnf.sh
index 9dc2a299332..88113d0a8d4 100644
--- a/support-files/my-medium.cnf.sh
+++ b/support-files/my-medium.cnf.sh
@@ -27,9 +27,9 @@ 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
+table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
@@ -44,9 +44,6 @@ myisam_sort_buffer_size = 8M
#
#skip-networking
-# Disable Federated by default
-skip-federated
-
# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
@@ -141,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