|
1
2
3
|
[root@zhu2
~]#
/opt/mysql/libexec/mysqld --verbose --helpDefault
options are read from
the following files in the
given order:/etc/my.cnf /etc/mysql/my.cnf /opt/mysql/etc/my.cnf
~/.my.cnf |
|
1
|
port
= 3306 |
|
1
|
socket
= /tmp/mysql.sock |
|
1
|
back_log
= 300 |
|
1
|
skip-networking |
|
1
|
skip-locking |
|
1
|
skip-name-resolve |
|
1
|
max_connections
= 3000 |
|
1
|
max_connect_errors
= 1000 |
|
1
|
table_cache
= 614k |
|
1
|
max_allowed_packet
= 4M |
|
1
|
sort_buffer_size
= 16M |
|
1
|
join_buffer_size
8M |
|
1
|
thread_cache_size
= 64 |
|
1
|
query_cache_size
= 64M |
|
1
|
query_cache_limit
= 4M |
|
1
|
tmp_table_size
256M |
|
1
|
default_storage_engine
= MYISAM |
|
1
|
log-bin=mysql-bin |
|
1
|
key_buffer_size
= 384M |
|
1
|
read_buffer_size
= 8M |
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
[client]default-character-set =
utf8port
= 3306socket
= /tmp/mysql.sock[mysqld]user
= mysqlport
= 3306socket
= /tmp/mysql.sockbasedir
= /opt/mysqldatadir
= /opt/mysql/varlog-error
= /opt/mysql/var/mysql-error.logpid-file = /opt/mysql/var/mysql.pidlog_slave_updates
= 1log-bin
= /opt/mysql/var/mysql-binbinlog_format
= mixedbinlog_cache_size
= 4Mmax_binlog_cache_size
= 8Mmax_binlog_size
= 1Gexpire_logs_days
= 90key_buffer_size
= 384Msort_buffer_size
= 2Mread_buffer_size
= 2Mread_rnd_buffer_size
= 16Mjoin_buffer_size
= 2Mthread_cache_size
= 8query_cache_size
= 32Mquery_cache_limit
= 2Mquery_cache_min_res_unit
= 2kthread_concurrency
= 32table_cache
= 614table_open_cache
= 512open_files_limit
= 10240back_log
= 600max_connections
= 5000max_connect_errors
= 6000external-locking
= FALSEmax_allowed_packet
= 16Mdefault-storage-engine
= MYISAMthread_stack
= 192ktransaction_isolation
= READ-COMMITTEDtmp_table_size
= 256Mmax_heap_table_size
= 512Mbulk_insert_buffer_size
= 64Mmyisam_sort_buffer_size
= 64Mmyisam_max_sort_file_size
= 10Gmyisam_repair_threads
= 1myisam_recoverlong_query_time
= 2slow_query_logslow_query_log_file
= /opt/mysql/var/slow.logskip-name-resolveskip-lockingskip-networkinginnodb_additional_mem_pool_size
= 16Minnodb_buffer_pool_size
= 512Minnodb_data_file_path
= ibdata1:256M:autoextendinnodb_file_io_threads
= 4innodb_thread_aoncurrency
= 8innodb_flush_log_at_trx_commit
= 2innodb_log_buffer_size
= 16Minnodb_log_file_size
= 128Minnodb_log_files_in_group
= 3innodb_max_dirty_pages_pct
= 90innodb_lock_wait_timeout
= 120innodb_file_per_table
= 0[mysqldump]quickmax_allow_packet
= 64M[mysql]no-auto-rehashsafr-updates[myisamchk]key_buffer_size
= 256Msort_buffer_size
= 256Mread_buffer
= 2M[mysqldump]quickmax_allow_packet
= 64M[mysql]no-auto-rehashsafe-updates[myisamchk]key_buffer_size
= 256Msort_buffer_size
= 256Mread_buffer
= 2Mwrite_buffer
= 2M[mysqlhotcopy]interactive-timeout |
1834



被折叠的 条评论
为什么被折叠?



