<table class="bash">
<tr class="li1"><td class="ln"><pre class="de1">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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202 MysqL,Galera Cluster,MariaDB and Percona Server MysqL/my.cnf MysqL/MariaDB 5.5 and newer MysqL-configuration-file-sample client port = socket = varrunMysqLdMysqL.sock MysqL no_auto_rehash max_allowed_packet = 16M prompt = ' default_character_set = utf8 MysqLdump max_allowed_packet = 16M MysqLd_safe open_files_limit = user = MysqL log-error = hostname_error.log MysqLd port = socket = varrunMysqLdMysqL.sock MysqL max_allowed_packet = 16M default_storage_engine = InnoDB MysqL 5.6,test carefully! This can have an impact on application. max_connections = max_user_connections = thread_cache_size = query_cache_type = query_cache_size = 32M 128M) QC because of QC clean-up lock! sort_buffer_size = 2M tmp_table_size = 32M read_buffer_size = 128k read_rnd_buffer_size = 256k join_buffer_size = 128k table_definition_cache = table_open_cache = MysqL error log log_error = hostname_error.log MysqL 5.7,equivalent to old behavIoUr log_warnings = MysqL 5.7,equivalent to log_warnings = 2 slow_query_log_file = hostname_slow.log slow_query_log = log_queries_not_using_indexes = long_query_time = min_examined_row_limit = general_log_file = hostname_general.log general_log = server_id = log_bin = hostname_binlog MysqL 5.6 binlog_cache_size = 1M binlog_stmt_cache_size = 1M max_binlog_size = 128M sync_binlog = expire_logs_days = binlog_format = ROW log_slave_updates = read_only = MysqL 5.6 MysqL 5.6 sql_mode = TRADITIONAL,ONLY_FULL_GROUP_BY,NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER # Be careful changing this afterwards key_buffer_size = 8M myisam_recover_options = MysqL 5.7,do NOT during/before MysqL_upgrade max_heap_table_size = 64M innodb_strict_mode = ON innodb_file_format_check = innodb_buffer_pool_size = 128M innodb_buffer_pool_instances = innodb_file_per_table = innodb_flush_log_at_trx_commit = innodb_log_buffer_size = 8M innodb_log_file_size = 256M MysqL parameter MysqLd without Galera MysqLdump # SST method (initial full sync): MysqLdump,rsync,rsync_wan,xtrabackup-v2 原文链接:https://www.f2er.com/note/421185.html