]> git.pld-linux.org Git - packages/percona-server.git/blame - mysqld.conf
- updated to 4.1.15
[packages/percona-server.git] / mysqld.conf
CommitLineData
87a1c582
ER
1; The MySQL server configuration file.
2; One can use all long options that the mysqld supports.
3; Run mysqld with --help to get a whole list of available options
4; $Id$
2ad2f3ce 5
87a1c582 6; This section must be the first!
2ad2f3ce 7[mysqld]
c6a5a2ea
ER
8datadir = /var/lib/mysql/mysqldb/db
9pid-file = /var/lib/mysql/mysqldb/mysql.pid
2ad2f3ce 10port = 3306
3127d72f 11socket = /var/lib/mysql/mysql.sock
2ad2f3ce 12user = mysql
13
87a1c582
ER
14;character-set-server=latin2
15;collation-server=latin2_general_ci
9051d690 16
87a1c582
ER
17; Use passwords compatible with old 4.0 mysqld
18;old-passwords
df187c4e 19
87a1c582
ER
20; Don't use system locking
21;skip-locking
2ad2f3ce 22
87a1c582 23; Don't allow connections over the network by default
2ad2f3ce 24skip-networking
25
87a1c582
ER
26; Emergency option. Use only if you really need this.
27;skip-grant-tables
28
29; Log connections and queries. It slows down MySQL so it's disabled by default
30;log = /var/log/mysql/log
31
32; Log all updates.
33;log-update = /var/log/mysql/update
34; Log some extra information to update log
35;log-long-format
36
37; Log all isam changes
38;log-isam = /var/log/mysql/isamlog
39
40; Language
41;language = polish
42
43;
44; Internal server variables
45;
46
47;set-variable = back_log=5
48;set-variable = connect_timeout=5
49;set-variable = delayed_insert_timeout=300
50;set-variable = delayed_insert_limit=100
51;set-variable = flush_time=0
52;set-variable = join_buffer_size=131072
53;set-variable = key_buffer_size=8M
54;set-variable = long_query_time=10
55;set-variable = max_allowed_packet=1M
56;set-variable = max_connections=100
57;set-variable = max_user_connections=0
58;set-variable = max_connect_errors=10
59;set-variable = max_delayed_insert_threads=20
60;set-variable = delayed_queue_size=1000
61;set-variable = max_join_size=4294967295
62;set-variable = max_sort_length=1024
63;set-variable = max_write_lock_count=4294967295
64;set-variable = net_buffer_length=16384
65;set-variable = record_buffer=131072
66;set-variable = sort_buffer_size=2M
67;set-variable = table_cache=64
68;set-variable = tmp_table_size=1M
69;set-variable = thread_stack=65536
70;set-variable = wait_timeout=28800
28635a24
ER
71;set-variable = query_cache_size=8M
72;set-variable = query_cache_limit=1M
87a1c582
ER
73
74
75
76;
77; MyISAM tables options
78;
79
80; Don't flush key buffers between writes for any MyISAM
81;delay-key-write-for-all-tables
82
83; Repair automatically on open if the table wasn't closed properly.
b0f33e42 84myisam-recover
87a1c582
ER
85;
86;set-variable = myisam_sort_buffer_size=4M
b0f33e42 87
88
89
87a1c582
ER
90;
91; InnoDB tables options (see MySQL manual)
92;
b0f33e42 93
87a1c582
ER
94;innodb_data_home_dir = /var/lib/mysql/innodb/data
95;innodb_data_file_path = 00:10M;01:20M
96;set-variable = innodb_mirrored_log_groups=1
97;innodb_log_group_home_dir = /var/lib/mysql/innodb/log
98;set-variable = innodb_log_files_in_group=3
99;set-variable = innodb_log_file_size=30M
100;set-variable = innodb_log_buffer_size=8M
b0f33e42 101
87a1c582
ER
102;innodb_flush_log_at_trx_commit=1
103;innodb_log_arch_dir = /var/lib/mysql/innodb/log
104;innodb_log_archive=0
105;set-variable = innodb_buffer_pool_size=80M
106;set-variable = innodb_additional_mem_pool_size=10M
107;set-variable = innodb_file_io_threads=4
108;set-variable = innodb_lock_wait_timeout=50
b0f33e42 109
110
87a1c582
ER
111;
112; Berkeley DB tables options
113;
114; Don't use berkeley db (saves a lot of memory)
115;skip-bdb
b0f33e42 116
87a1c582
ER
117;bdb-home = /var/lib/mysql/db
118;bdb-log-dir = /var/lib/mysql/bdb/log
119;bdb-tmpdir = /var/lib/mysql/bdb/tmp
b0f33e42 120
121
87a1c582 122;bdb-lock-detect = DEFAULT
b0f33e42 123
87a1c582
ER
124; Don't synchronously flush logs.
125;bdb-no-sync
b0f33e42 126
87a1c582
ER
127; Don't start Berkeley DB in recover mode.
128;bdb-no-recover
b0f33e42 129
87a1c582
ER
130; Start Berkeley DB in multi-process mode (Don't use `DB_PRIVATE'
131; when initializing Berkeley DB
132;bdb-shared-data
b0f33e42 133
87a1c582 134;set-variable = bdb_max_lock=1000
b0f33e42 135
136
87a1c582 137; used for logs rotation
2ad2f3ce 138[mysqladmin]
139user = mysql_logrotate
140password =
87a1c582
ER
141
142; vim=syn=dosini
This page took 0.071402 seconds and 4 git commands to generate.