summaryrefslogtreecommitdiff
path: root/support-files/my-small.cnf.sh
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-04-15 17:34:56 +0200
committerlenz@mysql.com <>2003-04-15 17:34:56 +0200
commit1e66aec50291b1470454108a0cad23dacbd8cd2c (patch)
treeabc122cd079681c2b70925b0024581679d9a4ed7 /support-files/my-small.cnf.sh
parent7fbc28c0740460ee5ed7bfbe1d82d438f6971b21 (diff)
downloadmariadb-git-1e66aec50291b1470454108a0cad23dacbd8cd2c.tar.gz
- Updated variable names that have been renamed in my.cnf example files
(bug #223) - Added more detailed info about how to set up replication
Diffstat (limited to 'support-files/my-small.cnf.sh')
-rw-r--r--support-files/my-small.cnf.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/support-files/my-small.cnf.sh b/support-files/my-small.cnf.sh
index b8941184fe0..b11277c1b4a 100644
--- a/support-files/my-small.cnf.sh
+++ b/support-files/my-small.cnf.sh
@@ -29,10 +29,18 @@ socket = @MYSQL_UNIX_ADDR@
skip-locking
set-variable = key_buffer=16K
set-variable = max_allowed_packet=1M
-set-variable = thread_stack=64K
set-variable = table_cache=4
-set-variable = sort_buffer=64K
+set-variable = sort_buffer_size=64K
set-variable = net_buffer_length=2K
+set-variable = thread_stack=64K
+
+# 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.
+# All interaction with mysqld must be made via Unix sockets or named pipes.
+# Note that using this option without enabling named pipes on Windows
+# (via the "pipe" option) will render mysqld useless!
+#
+#skip-networking
server-id = 1
# Uncomment the following if you want to log updates
@@ -67,11 +75,11 @@ no-auto-rehash
[isamchk]
set-variable = key_buffer=8M
-set-variable = sort_buffer=8M
+set-variable = sort_buffer_size=8M
[myisamchk]
set-variable = key_buffer=8M
-set-variable = sort_buffer=8M
+set-variable = sort_buffer_size=8M
[mysqlhotcopy]
interactive-timeout