@@ -39,8 +39,7 @@ The following options may be given as the first argument:
39
39
increase this to get more performance
40
40
--binlog-checksum=name
41
41
Type of BINLOG_CHECKSUM_ALG. Include checksum for log
42
- events in the binary log. Possible values are NONE and
43
- CRC32; default is NONE.
42
+ events in the binary log. One of: NONE, CRC32
44
43
--binlog-commit-wait-count=#
45
44
If non-zero, binlog write will wait at most
46
45
binlog_commit_wait_usec microseconds for at least this
@@ -71,10 +70,7 @@ The following options may be given as the first argument:
71
70
statements where only row-based is correct: those which
72
71
involve user-defined functions (i.e. UDFs) or the UUID()
73
72
function; for those, row-based binary logging is
74
- automatically used. If NDBCLUSTER is enabled and
75
- binlog-format is MIXED, the format switches to row-based
76
- and back implicitly per each query accessing an
77
- NDBCLUSTER table
73
+ automatically used.
78
74
--binlog-ignore-db=name
79
75
Tells the master that updates to the given database
80
76
should not be logged to the binary log.
@@ -114,11 +110,11 @@ The following options may be given as the first argument:
114
110
--collation-server=name
115
111
Set the default collation.
116
112
--completion-type=name
117
- The transaction completion type, one of NO_CHAIN, CHAIN,
113
+ The transaction completion type. One of: NO_CHAIN, CHAIN,
118
114
RELEASE
119
115
--concurrent-insert[=name]
120
- Use concurrent insert with MyISAM. Possible values are
121
- NEVER, AUTO, ALWAYS
116
+ Use concurrent insert with MyISAM. One of: NEVER, AUTO,
117
+ ALWAYS
122
118
--console Write error output on screen; don't remove the console
123
119
window on windows.
124
120
--core-file Write core on errors.
@@ -137,9 +133,8 @@ The following options may be given as the first argument:
137
133
Short timeout for the two-step deadlock detection (in
138
134
microseconds)
139
135
--default-regex-flags=name
140
- Default flags for the regex library. Syntax:
141
- default-regex-flags='[flag[,flag[,flag...]]]'. See the
142
- manual for the complete list of valid flags
136
+ Default flags for the regex library. Any combination of:
137
+ DOTALL, DUPNAMES, EXTENDED, EXTRA, MULTILINE, UNGREEDY
143
138
--default-storage-engine=name
144
139
The default storage engine for new tables
145
140
--default-time-zone=name
@@ -150,7 +145,7 @@ The following options may be given as the first argument:
150
145
--default-week-format=#
151
146
The default week format used by WEEK() functions
152
147
--delay-key-write[=name]
153
- Type of DELAY_KEY_WRITE
148
+ Type of DELAY_KEY_WRITE. One of: OFF, ON, ALL
154
149
--delayed-insert-limit=#
155
150
After inserting delayed_insert_limit rows, the INSERT
156
151
DELAYED handler will check if there are any SELECT
@@ -252,7 +247,7 @@ The following options may be given as the first argument:
252
247
(unless the user has SUPER privilege)
253
248
--init-file=name Read SQL commands from this file at startup
254
249
--init-rpl-role=name
255
- Set the replication role.
250
+ Set the replication role. One of: MASTER, SLAVE
256
251
--init-slave=name Command(s) that are executed by a slave server each time
257
252
the SQL thread starts
258
253
--interactive-timeout=#
@@ -329,8 +324,8 @@ The following options may be given as the first argument:
329
324
not specified then 'datadir'/'log-basename'.err or the
330
325
'pid-file' path with extension .err is used
331
326
--log-isam[=name] Log all MyISAM changes to file.
332
- --log-output=name Syntax: log-output=value[,value...], where "value" could
333
- be TABLE, FILE or NONE
327
+ --log-output=name How logs should be written. Any combination of: NONE,
328
+ FILE, TABLE
334
329
--log-queries-not-using-indexes
335
330
Log queries that are executed without benefit of any
336
331
index to the slow log if it is open
@@ -343,10 +338,9 @@ The following options may be given as the first argument:
343
338
Log slow OPTIMIZE, ANALYZE, ALTER and other
344
339
administrative statements to the slow log if it is open.
345
340
--log-slow-filter=name
346
- Log only certain types of queries. Multiple flags can be
347
- specified, separated by commas. Valid values are admin,
348
- slave, filesort, filesort_on_disk, full_join, full_scan,
349
- query_cache, query_cache_miss, tmp_table,
341
+ Log only certain types of queries. Any combination of:
342
+ admin, filesort, filesort_on_disk, full_join, full_scan,
343
+ query_cache, query_cache_miss, tmp_table,
350
344
tmp_table_on_disk
351
345
--log-slow-rate-limit=#
352
346
Write to slow log every #th slow query. Set to 1 to log
@@ -356,8 +350,8 @@ The following options may be given as the first argument:
356
350
Log slow statements executed by slave thread to the slow
357
351
log if it is open.
358
352
--log-slow-verbosity=name
359
- log- slow-verbosity=[value[,value ...]] where value is one
360
- of ' innodb', ' query_plan', ' explain'
353
+ Verbosity level for the slow log. Any combination of:
354
+ innodb, query_plan, explain
361
355
--log-tc=name Path to transaction coordinator log (used for
362
356
transactions that affect more than one storage engine,
363
357
when binary log is disabled).
@@ -458,9 +452,9 @@ The following options may be given as the first argument:
458
452
Restricts the total memory used for memory mapping of
459
453
MySQL tables
460
454
--myisam-recover-options[=name]
461
- Syntax: myisam-recover-options[=option[,option...]],
462
- where option can be DEFAULT, BACKUP, BACKUP_ALL, FORCE,
463
- QUICK, or OFF
455
+ Specifies how corrupted tables should be automatically
456
+ repaired. Any combination of: DEFAULT, BACKUP, FORCE,
457
+ QUICK, BACKUP_ALL, OFF
464
458
--myisam-repair-threads=#
465
459
If larger than 1, when repairing a MyISAM table all
466
460
indexes will be created in parallel, with one thread per
@@ -489,8 +483,9 @@ The following options may be given as the first argument:
489
483
See also --old-mode
490
484
--old-alter-table Use old, non-optimized alter table
491
485
--old-mode=name Used to emulate old behavior from earlier MariaDB or
492
- MySQL versions. Syntax: old_mode=mode[,mode[,mode...]].
493
- See the manual for the complete list of valid old modes
486
+ MySQL versions. Any combination of:
487
+ NO_DUP_KEY_WARNINGS_WITH_IGNORE, NO_PROGRESS_INFO,
488
+ ZERO_DATE_TIME_CAST
494
489
--old-passwords Use old password encryption method (needed for 4.0 and
495
490
older clients)
496
491
--old-style-user-limits
@@ -524,19 +519,20 @@ The following options may be given as the first argument:
524
519
Controls number of record samples to check condition
525
520
selectivity
526
521
--optimizer-switch=name
527
- optimizer_switch=option=val[,option=val...], where option
528
- is one of {derived_merge, derived_with_keys, firstmatch,
529
- in_to_exists, engine_condition_pushdown,
530
- index_condition_pushdown, index_merge,
531
- index_merge_intersection, index_merge_sort_intersection,
532
- index_merge_sort_union, index_merge_union,
533
- join_cache_bka, join_cache_hashed,
534
- join_cache_incremental, loosescan, materialization, mrr,
535
- mrr_cost_based, mrr_sort_keys, optimize_join_buffer_size,
536
- outer_join_with_cache, partial_match_rowid_merge,
537
- partial_match_table_scan, semijoin, semijoin_with_cache,
538
- subquery_cache, table_elimination, extended_keys,
539
- exists_to_in } and val is one of {on, off, default}
522
+ Fine-tune the optimizer behavior. Takes a comma-separated
523
+ list of option=value pairs, where value is on, off, or
524
+ default, and options are: index_merge, index_merge_union,
525
+ index_merge_sort_union, index_merge_intersection,
526
+ index_merge_sort_intersection, engine_condition_pushdown,
527
+ index_condition_pushdown, derived_merge,
528
+ derived_with_keys, firstmatch, loosescan, materialization,
529
+ in_to_exists, semijoin, partial_match_rowid_merge,
530
+ partial_match_table_scan, subquery_cache, mrr,
531
+ mrr_cost_based, mrr_sort_keys, outer_join_with_cache,
532
+ semijoin_with_cache, join_cache_incremental,
533
+ join_cache_hashed, join_cache_bka,
534
+ optimize_join_buffer_size, table_elimination,
535
+ extended_keys, exists_to_in
540
536
--optimizer-use-condition-selectivity=#
541
537
Controls selectivity of which conditions the optimizer
542
538
takes into account to calculate cardinality of a partial
@@ -689,9 +685,9 @@ The following options may be given as the first argument:
689
685
in an incremental way. It can be specified many times,
690
686
adding more plugins every time.
691
687
--plugin-maturity=name
692
- The lowest desirable plugin maturity (unknown,
693
- experimental, alpha, beta, gamma, or stable). Plugins
694
- less mature than that will not be installed or loaded.
688
+ The lowest desirable plugin maturity. Plugins less mature
689
+ than that will not be installed or loaded. One of:
690
+ unknown, experimental, alpha, beta, gamma, stable
695
691
-P, --port=# Port number to use for connection or 0 to default to,
696
692
my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default
697
693
(3306), whatever comes first
@@ -934,11 +930,10 @@ The following options may be given as the first argument:
934
930
transaction in case it failed with a deadlock or elapsed
935
931
lock wait timeout, before giving up and stopping
936
932
--slave-type-conversions=name
937
- Set of slave type conversions that are enabled. Legal
938
- values are: ALL_LOSSY to enable lossy conversions and
939
- ALL_NON_LOSSY to enable non-lossy conversions. If the
940
- variable is assigned the empty set, no conversions are
941
- allowed and it is expected that the types match exactly.
933
+ Set of slave type conversions that are enabled. If the
934
+ variable is empty, no conversions are allowed and it is
935
+ expected that the types match exactly. Any combination
936
+ of: ALL_LOSSY, ALL_NON_LOSSY
942
937
--slow-launch-time=#
943
938
If creating the thread takes longer than this value (in
944
939
seconds), the Slow_launch_threads counter will be
@@ -955,8 +950,18 @@ The following options may be given as the first argument:
955
950
--sort-buffer-size=#
956
951
Each thread that needs to do a sort allocates a buffer of
957
952
this size
958
- --sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual
959
- for the complete list of valid sql modes
953
+ --sql-mode=name Sets the sql mode. Any combination of: REAL_AS_FLOAT,
954
+ PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE,
955
+ IGNORE_BAD_TABLE_OPTIONS, ONLY_FULL_GROUP_BY,
956
+ NO_UNSIGNED_SUBTRACTION, NO_DIR_IN_CREATE, POSTGRESQL,
957
+ ORACLE, MSSQL, DB2, MAXDB, NO_KEY_OPTIONS,
958
+ NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, MYSQL323, MYSQL40,
959
+ ANSI, NO_AUTO_VALUE_ON_ZERO, NO_BACKSLASH_ESCAPES,
960
+ STRICT_TRANS_TABLES, STRICT_ALL_TABLES, NO_ZERO_IN_DATE,
961
+ NO_ZERO_DATE, ALLOW_INVALID_DATES,
962
+ ERROR_FOR_DIVISION_BY_ZERO, TRADITIONAL,
963
+ NO_AUTO_CREATE_USER, HIGH_NOT_PRECEDENCE,
964
+ NO_ENGINE_SUBSTITUTION, PAD_CHAR_TO_FULL_LENGTH
960
965
--stack-trace Print a symbolic stack trace on failure
961
966
(Defaults to on; use --skip-stack-trace to disable.)
962
967
--stored-program-cache=#
@@ -987,8 +992,8 @@ The following options may be given as the first argument:
987
992
--table-open-cache=#
988
993
The number of cached open tables
989
994
--tc-heuristic-recover=name
990
- Decision to use in heuristic recover process. Possible
991
- values are COMMIT or ROLLBACK.
995
+ Decision to use in heuristic recover process. One of:
996
+ COMMIT, ROLLBACK
992
997
--thread-cache-size=#
993
998
How many threads we should keep in a cache for reuse
994
999
--thread-pool-idle-timeout=#
@@ -1024,7 +1029,9 @@ The following options may be given as the first argument:
1024
1029
Allocation block size for transactions to be stored in
1025
1030
binary log
1026
1031
--transaction-isolation=name
1027
- Default transaction isolation level.
1032
+ Default transaction isolation level. One of:
1033
+ READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ,
1034
+ SERIALIZABLE
1028
1035
--transaction-prealloc-size=#
1029
1036
Persistent buffer for transactions to be stored in binary
1030
1037
log
@@ -1039,8 +1046,8 @@ The following options may be given as the first argument:
1039
1046
of the underlying table and the query uses a LIMIT clause
1040
1047
(usually get from GUI tools)
1041
1048
--use-stat-tables=name
1042
- Specifies how to use system statistics tables. Possible
1043
- values are NEVER, COMPLEMENTARY, PREFERABLY
1049
+ Specifies how to use system statistics tables. One of:
1050
+ NEVER, COMPLEMENTARY, PREFERABLY
1044
1051
-u, --user=name Run mysqld daemon as user.
1045
1052
--userstat Enables statistics gathering for USER_STATISTICS,
1046
1053
CLIENT_STATISTICS, INDEX_STATISTICS and TABLE_STATISTICS
@@ -1196,7 +1203,7 @@ myisam-mmap-size 18446744073709551615
1196
1203
myisam-recover-options DEFAULT
1197
1204
myisam-repair-threads 1
1198
1205
myisam-sort-buffer-size 134216704
1199
- myisam-stats-method nulls_unequal
1206
+ myisam-stats-method NULLS_UNEQUAL
1200
1207
myisam-use-mmap FALSE
1201
1208
net-buffer-length 16384
1202
1209
net-read-timeout 30
@@ -1282,7 +1289,7 @@ relay-log-purge TRUE
1282
1289
relay-log-recovery FALSE
1283
1290
relay-log-space-limit 0
1284
1291
replicate-annotate-row-events FALSE
1285
- replicate-events-marked-for-skip replicate
1292
+ replicate-events-marked-for-skip REPLICATE
1286
1293
replicate-same-server-id FALSE
1287
1294
report-host (No default value)
1288
1295
report-password (No default value)
0 commit comments