forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysqld--help-notwin.result
3248 lines (3245 loc) · 134 KB
/
mysqld--help-notwin.result
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file,
except for login file.
--defaults-file=# Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.
--defaults-group-suffix=#
Also read groups with concat(group, suffix)
--login-path=# Read this path from the login file.
--abort-slave-event-count=#
Option used by mysql-test for debugging and testing of
replication.
--activate-all-roles-on-login
Automatically set all granted roles as active after the
user has authenticated successfully.
--admin-address=name
IP address to bind to for service connection. Address can
be an IPv4 address, IPv6 address, or host name. Wildcard
values *, ::, 0.0.0.0 are not allowed. Address value can
have following optional network namespace separated by
the delimiter / from the address value. E.g., the
following value 192.168.1.1/red specifies IP addresses to
listen for incoming TCP connections that have to be
placed into the namespace 'red'. Using of network
namespace requires its support from underlying Operating
System. Attempt to specify a network namespace for a
platform that doesn't support it results in error during
socket creation.
--admin-port=# Port number to use for service connection, built-in
default (33062)
--admin-ssl Enable SSL for admin interface (automatically enabled
with other flags).
(Defaults to on; use --skip-admin-ssl to disable.)
--admin-ssl-capath=name
--admin-ssl-cert=name
--admin-ssl-cipher=name
--admin-ssl-crl=name
CRL file in PEM format (check OpenSSL docs, implies
--admin-ssl-crlpath=name
--admin-ssl-key=name
--admin-tls-ciphersuites=name
--admission-control-by-trx
Allow open transactions to go through admission control
--admission-control-filter=name
Commands that are skipped in admission control checks.
The legal values are: ALTER, BEGIN, COMMIT, CREATE,
DELETE, DROP, INSERT, LOAD, SELECT, SET, REPLACE,
ROLLBACK, TRUNCATE, UPDATE, SHOW and empty string
--admission-control-queue[=#]
Determines which queue this request goes to during
admission control. Allowed values are 0-9, since only 10
queues are available.
--admission-control-queue-timeout[=#]
Number of milliseconds to wait on admission control
queue. 0 means immediate timeout. -1 means infinite
timeout.
--admission-control-weights[=name]
Determines the weight of each queue as a comma-separated
list of integers, where the nth number is the nth queue's
weight. The queue weight to total weight ratio determines
what fraction of the running pool a queue can use.
--allow-noncurrent-db-rw=name
Switch to allow/deny reads and writes to a table not in
the current database.
--allow-suspicious-udfs
Allows use of UDFs consisting of only one symbol xxx()
without corresponding xxx_init() or xxx_deinit(). That
also means that one can load any function from any
library, for example exit() from libc.so
-a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
will also set transaction isolation level 'serializable'.
--apply-log=name The location and name to use for apply logs for raft
--apply-log-index=name
The location and name to use for the file that keeps a
list of the last apply logs for raft
--apply-log-retention-duration[=#]
Minimum duration (mins) that apply logs need to be
retained.
--apply-log-retention-num[=#]
Minimum number of apply logs that need to be retained.
--audit-instrumented-event[=name]
audit is generated by server in case of error/warning
events that are instrumented
--authentication-policy=name
Defines policies around how user account can be
configured with Multi Factor authentication methods
during CREATE/ALTER USER statement. This variable accepts
at-most 3 comma separated list of authentication plugin
names where each value refers to what authentication
plugin should be used in place of 1st Factor
Authentication (FA), 2FA and 3FA method. Value *
indicates any plugin is allowed for 1FA, 2FA and 3FA
method. An empty value means nth FA method is optional.
--auto-increment-increment[=#]
Auto-increment columns are incremented by this
--auto-increment-offset[=#]
Offset added to Auto-increment columns. Used when
auto-increment-increment != 1
--autocommit Set default value for autocommit (0 or 1)
(Defaults to on; use --skip-autocommit to disable.)
--automatic-sp-privileges
Creating and dropping stored procedures alters ACLs
(Defaults to on; use --skip-automatic-sp-privileges to disable.)
--avoid-temporal-upgrade
When this option is enabled, the pre-5.6.4 temporal types
are not upgraded to the new format for ALTER TABLE
requests ADD/CHANGE/MODIFY COLUMN, ADD INDEX or FORCE
operation. This variable is deprecated and will be
removed in a future release.
--back-log=# The number of outstanding connection requests MySQL can
have. This comes into play when the main MySQL thread
gets very many connection requests in a very short time
-b, --basedir=name Path to installation directory. All paths are usually
resolved relative to this
--big-tables Allow big result sets by saving all temporary sets on
file (Solves most 'table full' errors)
--bind-address=name IP address(es) to bind to. Syntax: address[,address]...,
where address can be an IPv4 address, IPv6 address, host
name or one of the wildcard values *, ::, 0.0.0.0. In
case more than one address is specified in a
comma-separated list, wildcard values are not allowed.
Every address can have optional network namespace
separated by the delimiter / from the address value.
E.g., the following value
192.168.1.1/red,172.16.1.1/green,193.168.1.1 specifies
three IP addresses to listen for incoming TCP connections
two of that have to be placed in corresponding
namespaces: the address 192.168.1.1 must be placed into
the namespace red and the address 172.16.1.1 must be
placed into the namespace green. Using of network
namespace requires its support from underlying Operating
System. Attempt to specify a network namespace for a
platform that doesn't support it results in error during
socket creation.
--binlog-cache-size=#
The size of the transactional cache for updates to
transactional engines for the binary log. If you often
use transactions containing many statements, you can
increase this to get more performance
--binlog-checksum=name
Type of BINLOG_CHECKSUM_ALG. Include checksum for log
events in the binary log. Possible values are NONE and
CRC32; default is CRC32.
--binlog-direct-non-transactional-updates
Causes updates to non-transactional engines using
statement format to be written directly to binary log,
after executing them and before committing the
transaction. Before using this option make sure that
there are no dependencies between transactional and
non-transactional tables such as in the statement INSERT
INTO t_myisam SELECT * FROM t_innodb; otherwise, replicas
may diverge.
--binlog-do-db=name Include only updates to the specified database when
writing the binary log.
--binlog-encryption Enable/disable binary and relay logs encryption.
--binlog-error-action=name
When statements cannot be written to the binary log due
to a fatal error, this option determines whether the
server ignores the error and closes the binary log, or
aborts.
--binlog-expire-logs-seconds=#
If non-zero, binary logs will be purged after
binlog_expire_logs_seconds seconds; If both this option
and expire_logs_days are set to non-zero values, this
option takes priority. Purges happen at startup and at
binary log rotation.
--binlog-format=name
The format used when writing the binary log. ROW writes
each changed row in a binary format. STATEMENT writes SQL
statements. MIXED writes SQL statements for most
statements, and row format for statements that cannot be
replayed in a deterministic manner using SQL. If
NDBCLUSTER is enabled and binlog-format is MIXED, the
format switches to row-based and back implicitly for each
query accessing an NDBCLUSTER table.
--binlog-group-commit-sync-delay=#
The number of microseconds the server waits for the
binary log group commit sync queue to fill before
continuing. Default: 0. Min: 0. Max: 1000000.
--binlog-group-commit-sync-no-delay-count=#
If there are this many transactions in the commit sync
queue and the server is waiting for more transactions to
be enqueued (as set using
--binlog-group-commit-sync-delay), the commit procedure
resumes.
--binlog-gtid-simple-recovery
If this option is enabled, the server does not open more
than two binary logs when initializing GTID_PURGED and
GTID_EXECUTED, either during server restart or when
binary logs are being purged. Enabling this option is
useful when the server has already generated many binary
logs without GTID events (e.g., having GTID_MODE = OFF).
Note: If this option is enabled, GLOBAL.GTID_EXECUTED and
GLOBAL.GTID_PURGED may be initialized wrongly in two
cases: (1) All binary logs were generated by MySQL 5.7.5
or older, and GTID_MODE was ON for some binary logs but
OFF for the newest binary log. (2) The oldest existing
binary log was generated by MySQL 5.7.5 or older, and SET
GTID_PURGED was issued after the oldest binary log was
generated. If a wrong set is computed in one of case (1)
or case (2), it will remain wrong even if the server is
later restarted with this option disabled.
(Defaults to on; use --skip-binlog-gtid-simple-recovery to disable.)
--binlog-ignore-db=name
Exclude updates to the specified database when writing
the binary log.
--binlog-max-flush-queue-time=#
The maximum time that the binary log group commit will
keep reading transactions before it flush the
transactions to the binary log (and optionally sync,
depending on the value of sync_binlog).
--binlog-order-commits
Issue internal commit calls in the same order as
transactions are written to the binary log. Default is to
order commits.
(Defaults to on; use --skip-binlog-order-commits to disable.)
--binlog-rotate-encryption-master-key-at-startup
Force binlog encryption master key rotation at startup
--binlog-row-event-max-size=#
The maximum size of a row-based binary log event in
bytes. Rows will be grouped into events smaller than this
size if possible. The value has to be a multiple of 256.
--binlog-row-image=name
Controls whether rows should be logged in 'FULL',
'COMPLETE', 'NOBLOB' or 'MINIMAL' formats. 'FULL', means
that all columns in the before and after image are
logged. 'NOBLOB', means that mysqld avoids logging blob
columns whenever possible (e.g. blob column was not
changed or is not part of primary key). 'MINIMAL', means
that a PK equivalent (PK columns or full row if there is
no PK in the table) is logged in the before image, and
only changed columns are logged in the after image.
'COMPLETE', means that all columns in the before and only
changed columns in the after image are logged. (Default:
FULL).
--binlog-row-metadata=name
Controls how much type information is written to the
binary log when using ROW format. FULL causes all
metadata to be logged. MINIMAL means that only metadata
actually needed by replicas is logged.
--binlog-row-value-options=name
When set to PARTIAL_JSON, this option enables a
space-efficient row-based binary log format for UPDATE
statements that modify a JSON value using only the
functions JSON_SET, JSON_REPLACE, and JSON_REMOVE. For
such updates, only the modified parts of the JSON
document are included in the binary log, so small changes
of big documents may need significantly less space.
--binlog-rows-event-max-rows[=#]
Max number of rows in a single rows event
--binlog-rows-query-log-events
Allow writing of Rows_query_log events into binary log.
--binlog-stmt-cache-size=#
The size of the statement cache for updates to
non-transactional engines for the binary log. If you
often use statements updating a great number of rows, you
can increase this to get more performance
--binlog-transaction-compression
Whether to compress transactions or not. Transactions are
compressed using the ZSTD compression algorythm.
--binlog-transaction-compression-level-zstd=#
Specifies the transaction compression level for ZSTD
transaction compression in the binary log.
--binlog-transaction-dependency-history-size=#
Maximum number of rows to keep in the writeset history.
--binlog-transaction-dependency-tracking=name
Selects the source of dependency information from which
to compute logical timestamps, which replicas can use to
decide which transactions can be executed in parallel
when using replica_parallel_type=LOGICAL_CLOCK. Possible
values are COMMIT_ORDER, WRITESET and WRITESET_SESSION.
--binlog-trx-meta-data
Log meta data about every trx in the binary log. This
information is logged as a comment in a Rows_query_log
event in JSON format.
--block-encryption-mode=name
mode for AES_ENCRYPT/AES_DECRYPT
--bulk-insert-buffer-size=#
Size of tree cache used in bulk insert optimisation. Note
that this is a limit per thread!
--caching-sha2-password-digest-rounds=#
Number of SHA2 rounds to be done when storing a password
hash onto disk.
--caching-sha2-password-private-key-path=name
A fully qualified path to the private RSA key used for
authentication.
--caching-sha2-password-public-key-path=name
A fully qualified path to the public RSA key used for
authentication.
--character-set-client-handshake
Don't ignore client side character set value sent during
handshake.
(Defaults to on; use --skip-character-set-client-handshake to disable.)
--character-set-filesystem=name
Set the filesystem character set.
-C, --character-set-server=name
Set the default character set.
--character-sets-dir=name
Directory where character sets are
--check-proxy-users If set to FALSE (the default), then proxy user identity
will not be mapped for authentication plugins which
support mapping from grant tables. When set to TRUE,
users associated with authentication plugins which signal
proxy user mapping should be done according to GRANT
PROXY privilege definition.
-r, --chroot=name Chroot mysqld daemon during startup.
--collation-server=name
Set the default collation.
--commit-consensus-error-action[=name]
Defines the server action when a thread fails inside
ordered commit due to consensus error
--completion-type=name
The transaction completion type, one of NO_CHAIN, CHAIN,
RELEASE
--concurrent-insert[=name]
Use concurrent insert with MyISAM. Possible values are
NEVER, AUTO, ALWAYS
--connect-timeout=# The number of seconds the mysqld server is waiting for a
connect packet before responding with 'Bad handshake'
--connection-memory-chunk-size=#
Chunk size regulating frequency of updating the global
memory counter
--connection-memory-limit=#
Maximum amount of memory connection can consume
--console Write error output on screen; don't remove the console
window on windows.
--core-file Write core on errors.
--create-admin-listener-thread
Use a dedicated thread for listening incoming connections
on admin interface
--cte-max-recursion-depth=#
Abort a recursive common table expression if it does more
than this number of iterations.
-D, --daemonize Run mysqld as sysv daemon
-h, --datadir=name Path to the database root directory
--default-authentication-plugin=name
The default authentication plugin used by the server to
hash the password.
--default-collation-for-utf8mb4-init=name
The default collation for utf8mb4 charsets
--default-password-lifetime=#
The number of days after which the password will expire.
--default-storage-engine=name
The default storage engine for new tables
--default-table-encryption
Database and tablespace are created with this default
encryption property unless the user specifies an explicit
encryption property.
--default-time-zone=name
Set the default time zone.
--default-tmp-storage-engine=name
The default storage engine for new explicit temporary
tables
--default-week-format=#
The default week format used by WEEK() functions
--delay-key-write[=name]
Type of DELAY_KEY_WRITE
--delayed-insert-limit=#
After inserting delayed_insert_limit rows, the INSERT
DELAYED handler will check if there are any SELECT
statements pending. If so, it allows these to execute
before continuing. This variable is deprecated along with
INSERT DELAYED.
--delayed-insert-timeout=#
How long a INSERT DELAYED thread should wait for INSERT
statements before terminating. This variable is
deprecated along with INSERT DELAYED.
--delayed-queue-size=#
What size queue (in rows) should be allocated for
handling INSERT DELAYED. If the queue becomes full, any
client that does INSERT DELAYED will wait until there is
room in the queue again. This variable is deprecated
along with INSERT DELAYED.
--disable-raft-log-repointing
Enable/Disable repointing for raft logs
--disabled-storage-engines=name
Limit CREATE TABLE for the storage engines listed
--disallow-raft Temporary variable wich blocks turning on raft. Will be
removed later once raft is ready for 8.0
(Defaults to on; use --skip-disallow-raft to disable.)
--disconnect-on-expired-password
Give clients that don't signal password expiration
support execution time error(s) instead of connection
error
(Defaults to on; use --skip-disconnect-on-expired-password to disable.)
--disconnect-slave-event-count=#
Option used by mysql-test for debugging and testing of
replication.
--div-precision-increment=#
Precision of the result of '/' operator will be increased
on that value
--early-plugin-load=name
Optional semicolon-separated list of plugins to load
before storage engine initialization, where each plugin
is identified as name=library, where name is the plugin
name and library is the plugin library in plugin_dir.
--enable-acl-db-cache
Enable ACL db_cache lookup on (ip, user, db). Please
issue FLUSH PRIVILEGES for the changes to take effect.
(Defaults to on; use --skip-enable-acl-db-cache to disable.)
--enable-acl-fast-lookup
Enable ACL fast lookup on exact user/db pairs. Please
issue FLUSH PRIVILEGES for the changes to take effect.
--enable-binlog-hlc Enable logging HLC timestamp as part of Metadata log
event
--enable-blind-replace
Optimize 'replace into' statement by doing a blind
insert. Engine ignores primary key violations. This will
avoid a delete and an insert. This is supported in
MyRocks
--enable-block-stale-hlc-read
Enable blocking reads with a requested HLC timestamp
ahead of the engine HLC
--enable-query-checksum
Enable query checksums for queries that have the checksum
query attribute set. Uses a CRC32 checksum of the query
contents, but not the attributes
--enable-raft-plugin
Enables RAFT based consensus plugin. Replication will run
through this plugin when it is enabled
--enable-resultset-checksum
Enable CRC32 resultset checksums if requested by the
client sending the checksum query attribute, set to the
query checksum
--enable-super-log-bin-read-only
If set, prevents super from writing to a read_only
instance when sql_log_bin is also enabled
--enable-user-tables-engine-check
Enable checking storage engine compatibilty of user table
creation DDL.
--end-markers-in-json
In JSON output ("EXPLAIN FORMAT=JSON" and optimizer
trace), if variable is set to 1, repeats the structure's
key (if it has one) near the closing bracket
--enforce-gtid-consistency[=name]
Prevents execution of statements that would be impossible
to log in a transactionally safe manner. Currently, the
disallowed statements include CREATE TEMPORARY TABLE
inside transactions, all updates to non-transactional
tables, and CREATE TABLE ... SELECT.
--eq-range-index-dive-limit=#
The optimizer will use existing index statistics instead
of doing index dives for equality ranges if the number of
equality ranges for the index is larger than or equal to
this number. If set to 0, index dives are always used.
--error-partial-strict
Throw error on partial strict mode violations
--event-scheduler[=name]
Enable the event scheduler. Possible values are ON, OFF,
and DISABLED (keep the event scheduler completely
deactivated, it cannot be activated run-time)
-T, --exit-info[=#] Used for debugging. Use at your own risk.
--expire-logs-days=#
If non-zero, binary logs will be purged after
expire_logs_days days; If this option alone is set on the
command line or in a configuration file, it overrides the
default value for binlog-expire-logs-seconds. If both
options are set to nonzero values,
binlog-expire-logs-seconds takes priority. Possible
purges happen at startup and at binary log rotation.
--explicit-defaults-for-timestamp
This option causes CREATE TABLE to create all TIMESTAMP
columns as NULL with DEFAULT NULL attribute, Without this
option, TIMESTAMP columns are NOT NULL and have implicit
DEFAULT clauses. The old behavior is deprecated. The
variable can only be set by users having the SUPER
privilege.
(Defaults to on; use --skip-explicit-defaults-for-timestamp to disable.)
--external-locking Use system (external) locking (disabled by default).
With this option enabled you can run myisamchk to test
(not repair) tables while the MySQL server is running.
Disable with --skip-external-locking.
--fast-integer-to-string
Optimized implementation of integer to string conversion
--filesort-max-file-size=#
The max size of a file to use for filesort. Raise an
error when this is exceeded. 0 means no limit.
--flush Flush MyISAM tables to disk between SQL commands
--flush-only-old-table-cache-entries
Enable/disable flushing table and definition cache
entries policy based on TTL specified by flush_time.
--flush-time=# A dedicated thread is created to flush all tables at the
given interval
--ft-boolean-syntax=name
List of operators for MATCH ... AGAINST ( ... IN BOOLEAN
MODE)
--ft-max-word-len=# The maximum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable
--ft-min-word-len=# The minimum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable
--ft-query-expansion-limit=#
Number of best matches to use for query expansion
--ft-stopword-file=name
Use stopwords from this file instead of built-in list
--gap-lock-exceptions[=name]
List of tables (using regex) that are excluded from gap
lock detection.
--gap-lock-log-file=name
Log file path where queries using Gap Lock are written.
gap_lock_write_log needs to be turned on to write logs
--gap-lock-raise-error
Raising an error when executing queries relying on Gap
Lock. Default is false.
--gap-lock-write-log
Writing to gap_lock_log_file when executing queries
relying on Gap Lock. Default is false.
--gdb Set up signals usable for debugging.
--general-log Log connections and queries to a table or log file.
Defaults to logging to a file hostname.log, or if
--log-output=TABLE is used, to a table mysql.general_log.
--general-log-file=name
Log connections and queries to given file
--generated-random-password-length=#
Determines the length randomly generated passwords in
CREATE USER-,SET PASSWORD- or ALTER USER statements
--global-connection-memory-limit=#
Maximum amount of memory all connections can consume
--global-connection-memory-tracking
Enable updating the global memory counter and checking
the global connection memory limit exceeding
--group-concat-max-len=#
The maximum length of the result of function
GROUP_CONCAT()
--group-replication-consistency[=name]
Transaction consistency guarantee, possible values:
EVENTUAL, BEFORE_ON_PRIMARY_FAILOVER, BEFORE, AFTER,
BEFORE_AND_AFTER
--group-replication-plugin-hooks
Enable interfaces and codepaths used by group replication
plugin
--gtid-executed-compression-period[=#]
Compress the mysql.gtid_executed table whenever this
number of transactions have been added, by waking up a
foreground thread (compress_gtid_table). This compression
method only operates when binary logging is disabled on
the replica; if binary logging is enabled, the table is
compressed every time the binary log is rotated, and this
value is ignored. Before MySQL 8.0.23, the default is
1000, and from MySQL 8.0.23, the default is zero, which
disables this compression method. This is because in
releases from MySQL 8.0.17, InnoDB transactions are
written to the mysql.gtid_executed table by a separate
process to non-InnoDB transactions. If the server has a
mix of InnoDB and non-InnoDB transactions, attempting to
compress the table with the compress_gtid_table thread
can slow this process, so from MySQL 8.0.17 it is
recommended that you set gtid_executed_compression_period
to 0.
--gtid-mode=name Controls whether Global Transaction Identifiers (GTIDs)
are enabled. Can be OFF, OFF_PERMISSIVE, ON_PERMISSIVE,
or ON. OFF means that no transaction has a GTID.
OFF_PERMISSIVE means that new transactions (committed in
a client session using GTID_NEXT='AUTOMATIC') are not
assigned any GTID, and replicated transactions are
allowed to have or not have a GTID. ON_PERMISSIVE means
that new transactions are assigned a GTID, and replicated
transactions are allowed to have or not have a GTID. ON
means that all transactions have a GTID. ON is required
on a source before any replica can use
SOURCE_AUTO_POSITION=1. To safely switch from OFF to ON,
first set all servers to OFF_PERMISSIVE, then set all
servers to ON_PERMISSIVE, then wait for all transactions
without a GTID to be replicated and executed on all
servers, and finally set all servers to GTID_MODE = ON.
-?, --help Display this help and exit.
--high-precision-processlist
If set, MySQL will display the time in 1/1000000 of a
second precision
--high-priority-ddl Setting this flag will allow DDL commands to kill
conflicting connections (effective for admin user only).
--high-priority-lock-wait-timeout=#
Timeout in seconds to wait for a lock before returning an
error. This timeout is specifically for high_priority
commands (DDLs), when the high_priority_ddl variable is
turned on. The argument will be treated as a decimal
value with nanosecond precision.
--histogram-generation-max-mem-size=#
Maximum amount of memory available for generating
histograms
--host-cache-size=# How many host names should be cached to avoid resolving.
--improved-dup-key-error
Include the table name in the error text when receiving a
duplicate key error and log the query into a new
duplicate key query log file.
--information-schema-engine[=name]
Specify information_schema engine
--information-schema-stats-expiry=#
The number of seconds after which mysqld server will
fetch data from storage engine and replace the data in
cache.
--init-connect=name Command(s) that are executed for each new connection
--init-file=name Read SQL commands from this file at startup
--init-replica=name Command(s) that are executed by the replication applier
thread each time the applier threads start.
--init-slave=name This option is deprecated. Use init_replica instead.
-I, --initialize Create the default database and exit. Create a super user
with a random expired password and store it into the log.
--initialize-insecure
Create the default database and exit. Create a super user
with empty password.
--interactive-timeout=#
The number of seconds the server waits for activity on an
interactive connection before closing it
--internal-tmp-mem-storage-engine=name
The default storage engine for in-memory internal
temporary tables.
--join-buffer-size=#
The size of the buffer that is used for full joins
--keep-files-on-create
Don't overwrite stale .MYD and .MYI even if no directory
is specified
--key-buffer-size=# The size of the buffer used for index blocks for MyISAM
tables. Increase this to get better index handling (for
all reads and multiple writes) to as much as you can
afford
--key-cache-age-threshold=#
This characterizes the number of hits a hot block has to
be untouched until it is considered aged enough to be
downgraded to a warm block. This specifies the percentage
ratio of that number of hits to the total number of
blocks in key cache
--key-cache-block-size=#
The default size of key cache blocks
--key-cache-division-limit=#
The minimum percentage of warm blocks in key cache
--keyring-migration-destination=name
Keyring plugin or component to which the keys are
migrated to.
--keyring-migration-host=name
Connect to host.
-p, --keyring-migration-password[=name]
Password to use when connecting to server during keyring
migration. If password value is not specified then it
will be asked from the tty.
--keyring-migration-port=#
Port number to use for connection.
--keyring-migration-source=name
Keyring plugin from where the keys needs to be migrated
to. This option must be specified along with
--keyring-migration-destination.
--keyring-migration-to-component
Migrate from keyring plugin to keyring component.
--keyring-migration-user=name
User to login to server.
--kill-conflicting-connections
Setting this session only flag will instruct the the
session to kill all conflicting connections (effective
for admin user only) for any command executed by the
current session. The connections are killed only after
waiting for wait_lock_timeout. Only connections holding
the lock will be killed, but there could be more
connections in the queue which will take the lock before
the current session and the current session will wait for
1 more second before aborting if the lock won't be
granted.
--kill-conflicting-connections-timeout[=#]
Timeout in seconds of holding lock after issuing killing
conflicting connections.
-L, --language=name Client error messages in given language. May be given as
a full path. Deprecated. Use --lc-messages-dir instead.
--large-pages Enable support for large pages
--lc-messages=name Set the language used for the error messages.
--lc-messages-dir=name
Directory where error messages are
--lc-time-names=name
Set the language used for the month names and the days of
the week.
--legacy-global-read-lock-mode
Uses the legacy global read lock mode which will block
setting global read lock when a long transaction is
running
(Defaults to on; use --skip-legacy-global-read-lock-mode to disable.)
--local-infile Enable LOAD DATA LOCAL INFILE
--lock-wait-timeout=#
Timeout in seconds to wait for a lock before returning an
error. The argument will be treated as a decimal value
with nanosecond precision.
--log-bin[=name] Configures the name prefix to use for binary log files.
If the --log-bin option is not supplied, the name prefix
defaults to "binlog". If the --log-bin option is supplied
without argument, the name prefix defaults to
"HOSTNAME-bin", where HOSTNAME is the machine's hostname.
To set a different name prefix for binary log files, use
--log-bin=name. To disable binary logging, use the
--skip-log-bin or --disable-log-bin option.
--log-bin-index=name
File that holds the names for binary log files.
--log-bin-trust-function-creators
If set to FALSE (the default), then when --log-bin is
used, creation of a stored function (or trigger) is
allowed only to users having the SUPER privilege and only
if this stored function (trigger) may not break binary
logging. Note that if ALL connections to this server
ALWAYS use row-based binary logging, the security issues
do not exist and the binary logging cannot break, so you
can safely set this to TRUE
--log-bin-use-v1-row-events
If equal to 1 then version 1 row events are written to a
row based binary log. If equal to 0, then the latest
version of events are written. This option is useful
during some upgrades.
--log-column-names Writes column name information in table map log events.
--log-datagram Enable logging queries to a unix local datagram socket
--log-datagram-usecs=#
Log queries longer than log-datagram-usecs to a unix
local datagram socket
--log-ddl Log ddls in slow query log.
--log-error[=name] Error log file
--log-error-services=name
Services that should be called when an error event is
received
--log-error-suppression-list=name
Comma-separated list of error-codes. Error messages
corresponding to these codes will not be included in the
error log. Only events with a severity of Warning or
Information can be suppressed; events with System or
Error severity will always be included. Requires the
filter 'log_filter_internal' to be set in
@@global.log_error_services, which is the default.
--log-error-verbosity=#
How detailed the error log should be. 1, log errors only.
2, log errors and warnings. 3, log errors, warnings, and
notes. 4, log errors, warnings, notes, and debug.
Messages sent to the client are unaffected by this
setting.
--log-global-var-changes
All the value changes of global variables will be logged
into server log when this is set to TRUE.
--log-isam[=name] Log all MyISAM changes to file.
--log-only-query-comments
Writes only the comments part at the beginning of the
query in Rows_query_log_events.
(Defaults to on; use --skip-log-only-query-comments to disable.)
--log-output=name Syntax: log-output=value[,value...], where "value" could
be TABLE, FILE or NONE
--log-queries-not-using-indexes
Log queries that are executed without benefit of any
index to the slow log if it is open
--log-raw Log to general log before any rewriting of the query. For
use in debugging, not production as sensitive information
may be logged.
--log-replica-updates
If enabled, the replication applier threads will write to
this server's binary log.
(Defaults to on; use --skip-log-replica-updates to disable.)
--log-short-format Don't log extra information to update and slow-query
logs.
--log-slave-updates This option is deprecated. Use log_replica_updates
instead.
(Defaults to on; use --skip-log-slave-updates to disable.)
--log-slow-admin-statements
Log slow OPTIMIZE, ANALYZE, ALTER and other
administrative statements to the slow log if it is open.
--log-slow-extra Print more attributes to the slow query log file. Has no
effect on logging to table.
--log-slow-replica-statements
Log slow statements executed by the replication applier
threads to the slow log if it is open.
--log-slow-slave-statements
This option is deprecated. Use
log_slow_replica_statements instead.
--log-statements-unsafe-for-binlog
Log statements considered unsafe when using statement
based binary logging.
(Defaults to on; use --skip-log-statements-unsafe-for-binlog to disable.)
--log-tc=name Path to transaction coordinator log (used for
transactions that affect more than one storage engine,
when binary log is disabled).
--log-tc-size=# Size of transaction coordinator log.
--log-throttle-ddl[=#]
Log at most this many DDL entries per minute to the slow
log. Any further warnings will be condensed into a single
summary line. A value of 0 disables throttling. Option
has no effect unless --log_ddl is set.
--log-throttle-queries-not-using-indexes=#
Log at most this many 'not using index' warnings per
minute to the slow log. Any further warnings will be
condensed into a single summary line. A value of 0
disables throttling. Option has no effect unless
--log_queries_not_using_indexes is set.
--log-timestamps=name
UTC to timestamp log files in zulu time, for more concise
timestamps and easier correlation of logs from servers
from multiple time zones, or SYSTEM to use the system's
local time. This affects only log files, not log tables,
as the timestamp columns of the latter can be converted
at will.
--long-query-time=# Log all queries that have taken more than long_query_time
seconds to execute to file. This also includes lock wait
time. The argument will be treated as a decimal value
with microsecond precision
--low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects
--lower-case-table-names[=#]
If set to 1 table names are stored in lowercase on disk
and table names will be case-insensitive. Should be set
to 2 if you are using a case insensitive file system
--lz4f-net-compression-level[=#]
Compression level for compressed protocol when lz4f
library is selected.
--maintain-database-hlc
Enable maintaining of max HLC applied per database
--mandatory-roles=name
All the specified roles are always considered granted to
every user and they can't be revoked. Mandatory roles
still require activation unless they are made into
default roles. The granted roles will not be visible in
the mysql.role_edges table.
--master-info-file=name
The path and filename where the replication receiver
thread stores connection configuration and positions, in
case --master-info-repository=FILE. This option is
deprecated and will be removed in a future version.
--master-info-repository=name
The repository format for the replication connection
configuration.
--master-retry-count=#
The number of times this replica will attempt to connect
to a source before giving up. This option is deprecated
and will be removed in a future version. Use 'CHANGE
REPLICATION SOURCE TO SOURCE_RETRY_COUNT = <num>'
instead.
--master-verify-checksum
This option is deprecated. Use source_verify_checksum
instead.
--max-allowed-packet=#
Max packet length to send to or receive from the server
--max-binlog-cache-size=#
Sets the total size of the transactional cache
--max-binlog-dump-events=#
Option used by mysql-test for debugging and testing of
replication.
--max-binlog-size=# Binary log will be rotated automatically when the size
exceeds this value. Will also apply to relay logs if
max_relay_log_size is 0
--max-binlog-stmt-cache-size=#
Sets the total size of the statement cache
--max-connect-errors=#
If there is more than this number of interrupted
connections from a host this host will be blocked from
further connections
--max-connections=# The number of simultaneous clients allowed
--max-delayed-threads=#
Don't start more than this number of threads to handle
INSERT DELAYED statements. If set to zero INSERT DELAYED
will be not used. This variable is deprecated along with
INSERT DELAYED.
--max-digest-length=#
Maximum length considered for digest text.
--max-error-count=# Max number of errors/warnings to store for a statement
--max-execution-time=#
Kill SELECT statement that takes over the specified
number of milliseconds
--max-heap-table-size=#
Don't allow creation of heap tables bigger than this
--max-join-size=# Joins that are probably going to read more than
max_join_size records return an error
--max-length-for-sort-data=#
This variable is deprecated and will be removed in a
future release.
--max-nonsuper-connections=#
The maximum number of total active connections for
non-super user (0 = no limit)
--max-points-in-geometry[=#]
Maximum number of points in a geometry
--max-prepared-stmt-count=#
Maximum number of prepared statements in the server
--max-relay-log-size=#
If non-zero: relay log will be rotated automatically when
the size exceeds this value; if zero: when the size
exceeds max_binlog_size
--max-running-queries=#
The maximum number of running queries allowed for a
database. If this value is 0, no such limits are applied.
--max-seeks-for-key=#
Limit assumed max number of seeks when looking up rows
based on a key
--max-slowlog-size=#
Slow query log will be rotated automatically when the
size exceeds this value. The default is 0, don't limit
the size.
--max-sort-length=# The number of bytes to use when sorting long values with
PAD SPACE collations (only the first max_sort_length
bytes of each value are used; the rest are ignored)
--max-sp-recursion-depth[=#]
Maximum stored procedure recursion depth
--max-statement-time=#
redirects to max_execution_time
--max-user-connections=#
The maximum number of active connections for a single
user (0 = no limit)
--max-waiting-queries=#
The maximum number of waiting queries allowed for a
database.If this value is 0, no such limits are applied.
--max-write-lock-count=#
After this many write locks, allow some read locks to run
in between
--maximum-hlc-drift-ns[=#]
Maximum value that the local HLC can be allowed to drift
forward from the wall clock (in nanoseconds). This limit
is only used when setting a lower/minimum bound on HLC
using minimum_hlc_ns system variable. The default value
is 300 secs
--memlock Lock mysqld in memory.
--min-examined-row-limit=#
Don't write queries to slow log that examine fewer rows
than that
--minimum-hlc-ns[=#]
Sets the minimum HLC value for the instance (in
nanoseconds). Any HLC timestamp doled out after
minimum_hlc_ns is successfully updated is guranteed to be
greater than this value. The maximum allowed drift
(forward) is controlled by maximum_hlc_drift_ns
--mts-dependency-max-keys[=#]
Max number of keys in a transaction after which it will
be executed in isolation. This limits the amount of
metadata we'll need to maintain.
--mts-dependency-refill-threshold[=#]
Capacity in percentage at which to start refilling the
dependency buffer
--mts-dependency-replication[=name]
Use dependency based replication
--mts-dependency-size[=#]
Max size of the dependency buffer
--mts-dynamic-rebalance
Shuffle DB's within workers periodically for load
balancing
--mts-imbalance-threshold[=#]
Threshold to trigger worker thread rebalancing. This
parameter denotes the percent load on the most loaded
worker.
--myisam-block-size=#
Block size to be used for MyISAM index pages
--myisam-data-pointer-size=#
Default pointer size to be used for MyISAM tables
--myisam-max-sort-file-size=#
Don't use the fast sort index method to created index if
the temporary file would get bigger than this
--myisam-mmap-size=#
Restricts the total memory used for memory mapping of
MySQL tables
--myisam-recover-options[=name]
Syntax: myisam-recover-options[=option[,option...]],
where option can be DEFAULT, BACKUP, FORCE, QUICK, or OFF
--myisam-repair-threads=#
If larger than 1, when repairing a MyISAM table all
indexes will be created in parallel, with one thread per
index. The value of 1 disables parallel repair
--myisam-sort-buffer-size=#
The buffer that is allocated when sorting the index when
doing a REPAIR or when creating indexes with CREATE INDEX
or ALTER TABLE
--myisam-stats-method=name
Specifies how MyISAM index statistics collection code
should treat NULLs. Possible values of name are
NULLS_UNEQUAL (default behavior for 4.1 and later),
NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED
--myisam-use-mmap Use memory mapping for reading and writing MyISAM tables
--mysql-native-password-proxy-users
If set to FALSE (the default), then the
mysql_native_password plugin will not signal for
authenticated users to be checked for mapping to proxy
users. When set to TRUE, the plugin will flag associated
authenticated accounts to be mapped to proxy users when
the server option check_proxy_users is enabled.
--net-buffer-length=#
Buffer length for TCP/IP and socket communication
--net-compression-level=#
Compression level for compressed master/slave protocol
(when enabled) and client connections (when requested). 0
is no compression (for testing), 1 is fastest, 9 is
slowest, 6 is default.
--net-read-timeout=#
Number of seconds to wait for more data from a connection
before aborting the read
--net-retry-count=# If a read on a communication port is interrupted, retry
this many times before giving up
--net-write-timeout=#
Number of seconds to wait for a block to be written to a
connection before aborting the write
-n, --new Use very new possible "unsafe" functions
--no-dd-upgrade Abort restart if automatic upgrade or downgrade of the
data dictionary is needed. Deprecated option. Use
--upgrade=NONE instead.
--offline-mode Make the server into offline mode
--old Use compatible behavior
--old-alter-table Use old, non-optimized alter table
--old-style-user-limits
Enable old-style user limits (before 5.0.3, user
resources were counted for each user + host vs. per
account).
--open-files-limit=#
If this is not 0, then mysqld will use this value to
reserve file descriptors to use with setrlimit(). If this
value is 0 then mysqld will reserve max_connections*5 or
max_connections + table_open_cache*2 (whichever is
larger) number of file descriptors