summaryrefslogtreecommitdiff
path: root/support-files/my-small.cnf.sh
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-04-15 17:34:56 +0200
committerunknown <lenz@mysql.com>2003-04-15 17:34:56 +0200
commit592c30bdef7fe7c0a3d6dbd11a835221b38e941c (patch)
treeabc122cd079681c2b70925b0024581679d9a4ed7 /support-files/my-small.cnf.sh
parentbf09c10a6e72b5993b579ea023e3d91e6db22e46 (diff)
downloadmariadb-git-592c30bdef7fe7c0a3d6dbd11a835221b38e941c.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 support-files/my-huge.cnf.sh: - updated variable names that have been renamed in 4.0 (bug #223) - added more detailed info about how to set up replication (suggestion made by Guilhem) support-files/my-large.cnf.sh: - updated variable names that have been renamed in 4.0 (bug #223) - added more detailed info about how to set up replication (suggestion made by Guilhem) support-files/my-medium.cnf.sh: - updated variable names that have been renamed in 4.0 (bug #223) - added more detailed info about how to set up replication (suggestion made by Guilhem) support-files/my-small.cnf.sh: - updated variable names that have been renamed in 4.0 (bug #223) - added hint and commented out sample about skip-networking option (security enhancement)
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