~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to support-files/my-small.cnf.sh

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Example MySQL config file for small systems.
 
2
#
 
3
# This is for a system with little memory (<= 64M) where MySQL is only used
 
4
# from time to time and it's important that the mysqld daemon
 
5
# doesn't use much resources.
 
6
#
 
7
# You can copy this file to
 
8
# /etc/my.cnf to set global options,
 
9
# mysql-data-dir/my.cnf to set server-specific options (in this
 
10
# installation this directory is @localstatedir@) or
 
11
# ~/.my.cnf to set user-specific options.
 
12
#
 
13
# In this file, you can use all long options that a program supports.
 
14
# If you want to know which options a program supports, run the program
 
15
# with the "--help" option.
 
16
 
 
17
# The following options will be passed to all MySQL clients
 
18
[client]
 
19
#password       = your_password
 
20
port            = @MYSQL_TCP_PORT@
 
21
socket          = @MYSQL_UNIX_ADDR@
 
22
 
 
23
# Here follows entries for some specific programs
 
24
 
 
25
# The MySQL server
 
26
[mysqld]
 
27
port            = @MYSQL_TCP_PORT@
 
28
socket          = @MYSQL_UNIX_ADDR@
 
29
skip-locking
 
30
key_buffer = 16K
 
31
max_allowed_packet = 1M
 
32
table_cache = 4
 
33
sort_buffer_size = 64K
 
34
read_buffer_size = 256K
 
35
read_rnd_buffer_size = 256K
 
36
net_buffer_length = 2K
 
37
thread_stack = 64K
 
38
 
 
39
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
 
40
# if all processes that need to connect to mysqld run on the same host.
 
41
# All interaction with mysqld must be made via Unix sockets or named pipes.
 
42
# Note that using this option without enabling named pipes on Windows
 
43
# (using the "enable-named-pipe" option) will render mysqld useless!
 
44
 
45
#skip-networking
 
46
server-id       = 1
 
47
 
 
48
# Uncomment the following if you want to log updates
 
49
#log-bin=mysql-bin
 
50
 
 
51
# Uncomment the following if you are using InnoDB tables
 
52
#innodb_data_home_dir = @localstatedir@/
 
53
#innodb_data_file_path = ibdata1:10M:autoextend
 
54
#innodb_log_group_home_dir = @localstatedir@/
 
55
#innodb_log_arch_dir = @localstatedir@/
 
56
# You can set .._buffer_pool_size up to 50 - 80 %
 
57
# of RAM but beware of setting memory usage too high
 
58
#innodb_buffer_pool_size = 16M
 
59
#innodb_additional_mem_pool_size = 2M
 
60
# Set .._log_file_size to 25 % of buffer pool size
 
61
#innodb_log_file_size = 5M
 
62
#innodb_log_buffer_size = 8M
 
63
#innodb_flush_log_at_trx_commit = 1
 
64
#innodb_lock_wait_timeout = 50
 
65
 
 
66
[mysqldump]
 
67
quick
 
68
max_allowed_packet = 16M
 
69
 
 
70
[mysql]
 
71
no-auto-rehash
 
72
# Remove the next comment character if you are not familiar with SQL
 
73
#safe-updates
 
74
 
 
75
[isamchk]
 
76
key_buffer = 8M
 
77
sort_buffer_size = 8M
 
78
 
 
79
[myisamchk]
 
80
key_buffer = 8M
 
81
sort_buffer_size = 8M
 
82
 
 
83
[mysqlhotcopy]
 
84
interactive-timeout