Commit fcb59734 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

remove table formatting (squeeze many spaces into one)

in mysqld--help test.

When mysql is compiled with different options,columns
might have different size (this depends on parameter 
names and some parameters might only be available 
when some option is switched on)
parent 645628d4
...@@ -21,12 +21,16 @@ perl; ...@@ -21,12 +21,16 @@ perl;
open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die; open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die;
while (<F>) { while (<F>) {
next if 1../The following groups are read/; next if 1../The following groups are read/;
# formatting, skip line consisting entirely of dashes and blanks
next if /^[\- ]+$/;
next if /Value \(after reading options\)/; # skip table header
next if /^($re1) /; next if /^($re1) /;
next if /^($re2)-/; next if /^($re2)-/;
$skip=0 if /^ -/; $skip=0 if /^ -/;
$skip=1 if / --($re2)\b/; $skip=1 if / --($re2)\b/;
# fixes for 32-bit
y!\\!/!; y!\\!/!;
s/[ ]+/ /; # squeeze spaces to remove table formatting
# fixes for 32-bit
s/\b4294967295\b/18446744073709551615/; s/\b4294967295\b/18446744073709551615/;
s/\b2146435072\b/9223372036853727232/; s/\b2146435072\b/9223372036853727232/;
s/\b196608\b/262144/; s/\b196608\b/262144/;
......
...@@ -4,922 +4,920 @@ The following options may be given as the first argument: ...@@ -4,922 +4,920 @@ The following options may be given as the first argument:
--defaults-file=# Only read default options from the given file # --defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read --defaults-extra-file=# Read this file after the global files are read
--abort-slave-event-count=# --abort-slave-event-count=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--allow-suspicious-udfs --allow-suspicious-udfs
Allows use of UDFs consisting of only one symbol xxx() Allows use of UDFs consisting of only one symbol xxx()
without corresponding xxx_init() or xxx_deinit(). That without corresponding xxx_init() or xxx_deinit(). That
also means that one can load any function from any also means that one can load any function from any
library, for example exit() from libc.so library, for example exit() from libc.so
-a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
will also set transaction isolation level 'serializable'. will also set transaction isolation level 'serializable'.
--auto-increment-increment[=#] --auto-increment-increment[=#]
Auto-increment columns are incremented by this Auto-increment columns are incremented by this
--auto-increment-offset[=#] --auto-increment-offset[=#]
Offset added to Auto-increment columns. Used when Offset added to Auto-increment columns. Used when
auto-increment-increment != 1 auto-increment-increment != 1
--automatic-sp-privileges --automatic-sp-privileges
Creating and dropping stored procedures alters ACLs Creating and dropping stored procedures alters ACLs
(Defaults to on; use --skip-automatic-sp-privileges to disable.) (Defaults to on; use --skip-automatic-sp-privileges to disable.)
--back-log=# The number of outstanding connection requests MySQL can --back-log=# The number of outstanding connection requests MySQL can
have. This comes into play when the main MySQL thread have. This comes into play when the main MySQL thread
gets very many connection requests in a very short time gets very many connection requests in a very short time
-b, --basedir=name Path to installation directory. All paths are usually -b, --basedir=name Path to installation directory. All paths are usually
resolved relative to this resolved relative to this
--big-tables Allow big result sets by saving all temporary sets on --big-tables Allow big result sets by saving all temporary sets on
file (Solves most 'table full' errors) file (Solves most 'table full' errors)
--bind-address=name IP address to bind to. --bind-address=name IP address to bind to.
--binlog-cache-size=# --binlog-cache-size=#
The size of the cache to hold the SQL statements for the The size of the cache to hold the SQL statements for the
binary log during a transaction. If you often use big, binary log during a transaction. If you often use big,
multi-statement transactions you can increase this to get multi-statement transactions you can increase this to get
more performance more performance
--binlog-do-db=name Tells the master it should log updates for the specified --binlog-do-db=name Tells the master it should log updates for the specified
database, and exclude all others not explicitly database, and exclude all others not explicitly
mentioned. mentioned.
--binlog-format=name --binlog-format=name
What form of binary logging the master will use: either What form of binary logging the master will use: either
ROW for row-based binary logging, STATEMENT for ROW for row-based binary logging, STATEMENT for
statement-based binary logging, or MIXED. MIXED is statement-based binary logging, or MIXED. MIXED is
statement-based binary logging except for those statement-based binary logging except for those
statements where only row-based is correct: those which statements where only row-based is correct: those which
involve user-defined functions (i.e. UDFs) or the UUID() involve user-defined functions (i.e. UDFs) or the UUID()
function; for those, row-based binary logging is function; for those, row-based binary logging is
automatically used. If NDBCLUSTER is enabled and automatically used. If NDBCLUSTER is enabled and
binlog-format is MIXED, the format switches to row-based binlog-format is MIXED, the format switches to row-based
and back implicitly per each query accessing an and back implicitly per each query accessing an
NDBCLUSTER table NDBCLUSTER table
--binlog-ignore-db=name --binlog-ignore-db=name
Tells the master that updates to the given database Tells the master that updates to the given database
should not be logged tothe binary log. should not be logged tothe binary log.
--binlog-row-event-max-size=# --binlog-row-event-max-size=#
The maximum size of a row-based binary log event in The maximum size of a row-based binary log event in
bytes. Rows will be grouped into events smaller than this bytes. Rows will be grouped into events smaller than this
size if possible. The value has to be a multiple of 256. size if possible. The value has to be a multiple of 256.
--bootstrap Used by mysql installation scripts. --bootstrap Used by mysql installation scripts.
--bulk-insert-buffer-size=# --bulk-insert-buffer-size=#
Size of tree cache used in bulk insert optimisation. Note Size of tree cache used in bulk insert optimisation. Note
that this is a limit per thread! that this is a limit per thread!
--character-set-client-handshake --character-set-client-handshake
Don't ignore client side character set value sent during Don't ignore client side character set value sent during
handshake. handshake.
(Defaults to on; use --skip-character-set-client-handshake to disable.) (Defaults to on; use --skip-character-set-client-handshake to disable.)
--character-set-filesystem=name --character-set-filesystem=name
Set the filesystem character set. Set the filesystem character set.
-C, --character-set-server=name -C, --character-set-server=name
Set the default character set. Set the default character set.
--character-sets-dir=name --character-sets-dir=name
Directory where character sets are Directory where character sets are
-r, --chroot=name Chroot mysqld daemon during startup. -r, --chroot=name Chroot mysqld daemon during startup.
--collation-server=name --collation-server=name
Set the default collation. Set the default collation.
--completion-type=name --completion-type=name
The transaction completion type, one of NO_CHAIN, CHAIN, The transaction completion type, one of NO_CHAIN, CHAIN,
RELEASE RELEASE
--concurrent-insert[=name] --concurrent-insert[=name]
Use concurrent insert with MyISAM. Possible values are Use concurrent insert with MyISAM. Possible values are
NEVER, AUTO, ALWAYS NEVER, AUTO, ALWAYS
--connect-timeout=# The number of seconds the mysqld server is waiting for a --connect-timeout=# The number of seconds the mysqld server is waiting for a
connect packet before responding with 'Bad handshake' connect packet before responding with 'Bad handshake'
--console Write error output on screen; Don't remove the console --console Write error output on screen; Don't remove the console
window on windows. window on windows.
--core-file Write core on errors. --core-file Write core on errors.
-h, --datadir=name Path to the database root directory -h, --datadir=name Path to the database root directory
--date-format=name The DATE format (ignored) --date-format=name The DATE format (ignored)
--datetime-format=name --datetime-format=name
The DATETIME format (ignored) The DATETIME format (ignored)
-C, --default-character-set=name -C, --default-character-set=name
Set the default character set (deprecated option, use Set the default character set (deprecated option, use
--character-set-server instead). --character-set-server instead).
--default-collation=name --default-collation=name
Set the default collation (deprecated option, use Set the default collation (deprecated option, use
--collation-server instead). --collation-server instead).
--default-storage-engine=name --default-storage-engine=name
The default storage engine for new tables The default storage engine for new tables
--default-time-zone=name --default-time-zone=name
Set the default time zone. Set the default time zone.
--default-week-format=# --default-week-format=#
The default week format used by WEEK() functions The default week format used by WEEK() functions
--delay-key-write[=name] --delay-key-write[=name]
Type of DELAY_KEY_WRITE Type of DELAY_KEY_WRITE
--delay-key-write-for-all-tables --delay-key-write-for-all-tables
Don't flush key buffers between writes for any MyISAM Don't flush key buffers between writes for any MyISAM
table (Deprecated option, use --delay-key-write=all table (Deprecated option, use --delay-key-write=all
instead). instead).
--delayed-insert-limit=# --delayed-insert-limit=#
After inserting delayed_insert_limit rows, the INSERT After inserting delayed_insert_limit rows, the INSERT
DELAYED handler will check if there are any SELECT DELAYED handler will check if there are any SELECT
statements pending. If so, it allows these to execute statements pending. If so, it allows these to execute
before continuing before continuing
--delayed-insert-timeout=# --delayed-insert-timeout=#
How long a INSERT DELAYED thread should wait for INSERT How long a INSERT DELAYED thread should wait for INSERT
statements before terminating statements before terminating
--delayed-queue-size=# --delayed-queue-size=#
What size queue (in rows) should be allocated for What size queue (in rows) should be allocated for
handling INSERT DELAYED. If the queue becomes full, any handling INSERT DELAYED. If the queue becomes full, any
client that does INSERT DELAYED will wait until there is client that does INSERT DELAYED will wait until there is
room in the queue again room in the queue again
--disconnect-slave-event-count=# --disconnect-slave-event-count=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--div-precision-increment=# --div-precision-increment=#
Precision of the result of '/' operator will be increased Precision of the result of '/' operator will be increased
on that value on that value
--enable-locking Deprecated option, use --external-locking instead. --enable-locking Deprecated option, use --external-locking instead.
--engine-condition-pushdown --engine-condition-pushdown
Push supported query conditions to the storage engine Push supported query conditions to the storage engine
(Defaults to on; use --skip-engine-condition-pushdown to disable.) (Defaults to on; use --skip-engine-condition-pushdown to disable.)
--event-scheduler[=name] --event-scheduler[=name]
Enable the event scheduler. Possible values are ON, OFF, Enable the event scheduler. Possible values are ON, OFF,
and DISABLED (keep the event scheduler completely and DISABLED (keep the event scheduler completely
deactivated, it cannot be activated run-time) deactivated, it cannot be activated run-time)
-T, --exit-info[=#] Used for debugging; Use at your own risk! -T, --exit-info[=#] Used for debugging; Use at your own risk!
--expire-logs-days=# --expire-logs-days=#
If non-zero, binary logs will be purged after If non-zero, binary logs will be purged after
expire_logs_days days; possible purges happen at startup expire_logs_days days; possible purges happen at startup
and at binary log rotation and at binary log rotation
--external-locking Use system (external) locking (disabled by default). --external-locking Use system (external) locking (disabled by default).
With this option enabled you can run myisamchk to test With this option enabled you can run myisamchk to test
(not repair) tables while the MySQL server is running. (not repair) tables while the MySQL server is running.
Disable with --skip-external-locking. Disable with --skip-external-locking.
--flush Flush MyISAM tables to disk between SQL commands --flush Flush MyISAM tables to disk between SQL commands
--flush-time=# A dedicated thread is created to flush all tables at the --flush-time=# A dedicated thread is created to flush all tables at the
given interval given interval
--ft-boolean-syntax=name --ft-boolean-syntax=name
List of operators for MATCH ... AGAINST ( ... IN BOOLEAN List of operators for MATCH ... AGAINST ( ... IN BOOLEAN
MODE) MODE)
--ft-max-word-len=# The maximum length of the word to be included in a --ft-max-word-len=# The maximum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable after changing this variable
--ft-min-word-len=# The minimum length of the word to be included in a --ft-min-word-len=# The minimum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable after changing this variable
--ft-query-expansion-limit=# --ft-query-expansion-limit=#
Number of best matches to use for query expansion Number of best matches to use for query expansion
--ft-stopword-file=name --ft-stopword-file=name
Use stopwords from this file instead of built-in list Use stopwords from this file instead of built-in list
--gdb Set up signals usable for debugging --gdb Set up signals usable for debugging
--general-log Log connections and queries to a table or log file. --general-log Log connections and queries to a table or log file.
Defaults logging to a file hostname.log or a table Defaults logging to a file hostname.log or a table
mysql.general_logif --log-output=TABLE is used mysql.general_logif --log-output=TABLE is used
--general-log-file=name --general-log-file=name
Log connections and queries to given file Log connections and queries to given file
--group-concat-max-len=# --group-concat-max-len=#
The maximum length of the result of function The maximum length of the result of function
GROUP_CONCAT() GROUP_CONCAT()
-?, --help Display this help and exit. -?, --help Display this help and exit.
--ignore-builtin-innodb --ignore-builtin-innodb
Disable initialization of builtin InnoDB plugin Disable initialization of builtin InnoDB plugin
--init-connect=name Command(s) that are executed for each new connection --init-connect=name Command(s) that are executed for each new connection
--init-file=name Read SQL commands from this file at startup --init-file=name Read SQL commands from this file at startup
--init-rpl-role=name --init-rpl-role=name
Set the replication role. Set the replication role.
--init-slave=name Command(s) that are executed by a slave server each time --init-slave=name Command(s) that are executed by a slave server each time
the SQL thread starts the SQL thread starts
--interactive-timeout=# --interactive-timeout=#
The number of seconds the server waits for activity on an The number of seconds the server waits for activity on an
interactive connection before closing it interactive connection before closing it
--join-buffer-size=# --join-buffer-size=#
The size of the buffer that is used for full joins The size of the buffer that is used for full joins
--keep-files-on-create --keep-files-on-create
Don't overwrite stale .MYD and .MYI even if no directory Don't overwrite stale .MYD and .MYI even if no directory
is specified is specified
--key-buffer-size=# The size of the buffer used for index blocks for MyISAM --key-buffer-size=# The size of the buffer used for index blocks for MyISAM
tables. Increase this to get better index handling (for tables. Increase this to get better index handling (for
all reads and multiple writes) to as much as you can all reads and multiple writes) to as much as you can
afford afford
--key-cache-age-threshold=# --key-cache-age-threshold=#
This characterizes the number of hits a hot block has to This characterizes the number of hits a hot block has to
be untouched until it is considered aged enough to be be untouched until it is considered aged enough to be
downgraded to a warm block. This specifies the percentage downgraded to a warm block. This specifies the percentage
ratio of that number of hits to the total number of ratio of that number of hits to the total number of
blocks in key cache blocks in key cache
--key-cache-block-size=# --key-cache-block-size=#
The default size of key cache blocks The default size of key cache blocks
--key-cache-division-limit=# --key-cache-division-limit=#
The minimum percentage of warm blocks in key cache The minimum percentage of warm blocks in key cache
-L, --language=name Client error messages in given language. May be given as -L, --language=name Client error messages in given language. May be given as
a full path. Deprecated. Use --lc-messages-dir instead. a full path. Deprecated. Use --lc-messages-dir instead.
--large-pages Enable support for large pages --large-pages Enable support for large pages
--lc-messages=name Set the language used for the error messages. --lc-messages=name Set the language used for the error messages.
-L, --lc-messages-dir=name -L, --lc-messages-dir=name
Directory where error messages are Directory where error messages are
--lc-time-names=name --lc-time-names=name
Set the language used for the month names and the days of Set the language used for the month names and the days of
the week. the week.
--local-infile Enable LOAD DATA LOCAL INFILE --local-infile Enable LOAD DATA LOCAL INFILE
(Defaults to on; use --skip-local-infile to disable.) (Defaults to on; use --skip-local-infile to disable.)
-l, --log[=name] Log connections and queries to file (deprecated option, -l, --log[=name] Log connections and queries to file (deprecated option,
use --general-log/--general-log-file instead). use --general-log/--general-log-file instead).
--log-bin[=name] Log update queries in binary format. Optional (but --log-bin[=name] Log update queries in binary format. Optional (but
strongly recommended to avoid replication problems if strongly recommended to avoid replication problems if
server's hostname changes) argument should be the chosen server's hostname changes) argument should be the chosen
location for the binary log files. location for the binary log files.
--log-bin-index=name --log-bin-index=name
File that holds the names for last binary log files. File that holds the names for last binary log files.
--log-bin-trust-function-creators --log-bin-trust-function-creators
If set to FALSE (the default), then when --log-bin is If set to FALSE (the default), then when --log-bin is
used, creation of a stored function (or trigger) is used, creation of a stored function (or trigger) is
allowed only to users having the SUPER privilege and only allowed only to users having the SUPER privilege and only
if this stored function (trigger) may not break binary if this stored function (trigger) may not break binary
logging. Note that if ALL connections to this server logging. Note that if ALL connections to this server
ALWAYS use row-based binary logging, the security issues ALWAYS use row-based binary logging, the security issues
do not exist and the binary logging cannot break, so you do not exist and the binary logging cannot break, so you
can safely set this to TRUE can safely set this to TRUE
--log-error[=name] Error log file --log-error[=name] Error log file
--log-isam[=name] Log all MyISAM changes to file. --log-isam[=name] Log all MyISAM changes to file.
-0, --log-long-format -0, --log-long-format
Log some extra information to update log. Please note Log some extra information to update log. Please note
that this option is deprecated; see --log-short-format that this option is deprecated; see --log-short-format
option. option.
--log-output=name Syntax: log-output=value[,value...], where "value" could --log-output=name Syntax: log-output=value[,value...], where "value" could
be TABLE, FILE or NONE be TABLE, FILE or NONE
--log-queries-not-using-indexes --log-queries-not-using-indexes
Log queries that are executed without benefit of any Log queries that are executed without benefit of any
index to the slow log if it is open index to the slow log if it is open
--log-short-format Don't log extra information to update and slow-query --log-short-format Don't log extra information to update and slow-query
logs. logs.
--log-slave-updates Tells the slave to log the updates from the slave thread --log-slave-updates Tells the slave to log the updates from the slave thread
to the binary log. You will need to turn it on if you to the binary log. You will need to turn it on if you
plan to daisy-chain the slaves plan to daisy-chain the slaves
--log-slow-admin-statements --log-slow-admin-statements
Log slow OPTIMIZE, ANALYZE, ALTER and other Log slow OPTIMIZE, ANALYZE, ALTER and other
administrative statements to the slow log if it is open. administrative statements to the slow log if it is open.
--log-slow-queries[=name] --log-slow-queries[=name]
Log slow queries to a table or log file. Defaults logging Log slow queries to a table or log file. Defaults logging
to table mysql.slow_log or hostname-slow.log if to table mysql.slow_log or hostname-slow.log if
--log-output=file is used. Must be enabled to activate --log-output=file is used. Must be enabled to activate
other slow log options. Deprecated option, use other slow log options. Deprecated option, use
--slow-query-log/--slow-query-log-file instead. --slow-query-log/--slow-query-log-file instead.
--log-slow-slave-statements --log-slow-slave-statements
Log slow statements executed by slave thread to the slow Log slow statements executed by slave thread to the slow
log if it is open. log if it is open.
--log-tc=name Path to transaction coordinator log (used for --log-tc=name Path to transaction coordinator log (used for
transactions that affect more than one storage engine, transactions that affect more than one storage engine,
when binary log is disabled) when binary log is disabled)
--log-tc-size=# Size of transaction coordinator log. --log-tc-size=# Size of transaction coordinator log.
--log-update[=name] The update log is deprecated since version 5.0, is --log-update[=name] The update log is deprecated since version 5.0, is
replaced by the binary log and this option justs turns on replaced by the binary log and this option justs turns on
--log-bin instead. --log-bin instead.
-W, --log-warnings[=#] -W, --log-warnings[=#]
Log some not critical warnings to the log file Log some not critical warnings to the log file
--long-query-time=# Log all queries that have taken more than long_query_time --long-query-time=# Log all queries that have taken more than long_query_time
seconds to execute to file. The argument will be treated seconds to execute to file. The argument will be treated
as a decimal value with microsecond precision as a decimal value with microsecond precision
--low-priority-updates --low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects INSERT/DELETE/UPDATE has lower priority than selects
--lower-case-table-names[=#] --lower-case-table-names[=#]
If set to 1 table names are stored in lowercase on disk If set to 1 table names are stored in lowercase on disk
and table names will be case-insensitive. Should be set and table names will be case-insensitive. Should be set
to 2 if you are using a case insensitive file system to 2 if you are using a case insensitive file system
--master-info-file=name --master-info-file=name
The location and name of the file that remembers the The location and name of the file that remembers the
master and where the I/O replication thread is in the master and where the I/O replication thread is in the
master's binlogs. master's binlogs.
--master-retry-count=# --master-retry-count=#
The number of tries the slave will make to connect to the The number of tries the slave will make to connect to the
master before giving up. master before giving up.
--max-allowed-packet=# --max-allowed-packet=#
Max packet length to send to or receive from the server Max packet length to send to or receive from the server
--max-binlog-cache-size=# --max-binlog-cache-size=#
Can be used to restrict the total size used to cache a Can be used to restrict the total size used to cache a
multi-transaction query multi-transaction query
--max-binlog-dump-events=# --max-binlog-dump-events=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--max-binlog-size=# Binary log will be rotated automatically when the size --max-binlog-size=# Binary log will be rotated automatically when the size
exceeds this value. Will also apply to relay logs if exceeds this value. Will also apply to relay logs if
max_relay_log_size is 0 max_relay_log_size is 0
--max-connect-errors=# --max-connect-errors=#
If there is more than this number of interrupted If there is more than this number of interrupted
connections from a host this host will be blocked from connections from a host this host will be blocked from
further connections further connections
--max-connections=# The number of simultaneous clients allowed --max-connections=# The number of simultaneous clients allowed
--max-delayed-threads=# --max-delayed-threads=#
Don't start more than this number of threads to handle Don't start more than this number of threads to handle
INSERT DELAYED statements. If set to zero INSERT DELAYED INSERT DELAYED statements. If set to zero INSERT DELAYED
will be not used will be not used
--max-error-count=# Max number of errors/warnings to store for a statement --max-error-count=# Max number of errors/warnings to store for a statement
--max-heap-table-size=# --max-heap-table-size=#
Don't allow creation of heap tables bigger than this 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=# Joins that are probably going to read more than
max_join_size records return an error max_join_size records return an error
--max-length-for-sort-data=# --max-length-for-sort-data=#
Max number of bytes in sorted records Max number of bytes in sorted records
--max-prepared-stmt-count=# --max-prepared-stmt-count=#
Maximum number of prepared statements in the server Maximum number of prepared statements in the server
--max-relay-log-size=# --max-relay-log-size=#
If non-zero: relay log will be rotated automatically when If non-zero: relay log will be rotated automatically when
the size exceeds this value; if zero: when the size the size exceeds this value; if zero: when the size
exceeds max_binlog_size exceeds max_binlog_size
--max-seeks-for-key=# --max-seeks-for-key=#
Limit assumed max number of seeks when looking up rows Limit assumed max number of seeks when looking up rows
based on a key based on a key
--max-sort-length=# The number of bytes to use when sorting BLOB or TEXT --max-sort-length=# The number of bytes to use when sorting BLOB or TEXT
values (only the first max_sort_length bytes of each values (only the first max_sort_length bytes of each
value are used; the rest are ignored) value are used; the rest are ignored)
--max-sp-recursion-depth[=#] --max-sp-recursion-depth[=#]
Maximum stored procedure recursion depth Maximum stored procedure recursion depth
--max-tmp-tables=# Maximum number of temporary tables a client can keep open --max-tmp-tables=# Maximum number of temporary tables a client can keep open
at a time at a time
--max-user-connections=# --max-user-connections=#
The maximum number of active connections for a single The maximum number of active connections for a single
user (0 = no limit) user (0 = no limit)
--max-write-lock-count=# --max-write-lock-count=#
After this many write locks, allow some read locks to run After this many write locks, allow some read locks to run
in between in between
--memlock Lock mysqld in memory. --memlock Lock mysqld in memory.
--min-examined-row-limit=# --min-examined-row-limit=#
Don't write queries to slow log that examine fewer rows Don't write queries to slow log that examine fewer rows
than that than that
--multi-range-count=# --multi-range-count=#
Number of key ranges to request at once Number of key ranges to request at once
--myisam-block-size=# --myisam-block-size=#
Block size to be used for MyISAM index pages Block size to be used for MyISAM index pages
--myisam-data-pointer-size=# --myisam-data-pointer-size=#
Default pointer size to be used for MyISAM tables Default pointer size to be used for MyISAM tables
--myisam-max-sort-file-size=# --myisam-max-sort-file-size=#
Don't use the fast sort index method to created index if Don't use the fast sort index method to created index if
the temporary file would get bigger than this the temporary file would get bigger than this
--myisam-mmap-size=# --myisam-mmap-size=#
Restricts the total memory used for memory mapping of Restricts the total memory used for memory mapping of
MySQL tables MySQL tables
--myisam-recover-options[=name] --myisam-recover-options[=name]
Syntax: myisam-recover-options[=option[,option...]], Syntax: myisam-recover-options[=option[,option...]],
where option can be DEFAULT, BACKUP, FORCE, QUICK, or OFF where option can be DEFAULT, BACKUP, FORCE, QUICK, or OFF
--myisam-repair-threads=# --myisam-repair-threads=#
If larger than 1, when repairing a MyISAM table all If larger than 1, when repairing a MyISAM table all
indexes will be created in parallel, with one thread per indexes will be created in parallel, with one thread per
index. The value of 1 disables parallel repair index. The value of 1 disables parallel repair
--myisam-sort-buffer-size=# --myisam-sort-buffer-size=#
The buffer that is allocated when sorting the index when The buffer that is allocated when sorting the index when
doing a REPAIR or when creating indexes with CREATE INDEX doing a REPAIR or when creating indexes with CREATE INDEX
or ALTER TABLE or ALTER TABLE
--myisam-stats-method=name --myisam-stats-method=name
Specifies how MyISAM index statistics collection code Specifies how MyISAM index statistics collection code
should treat NULLs. Possible values of name are should treat NULLs. Possible values of name are
NULLS_UNEQUAL (default behavior for 4.1 and later), NULLS_UNEQUAL (default behavior for 4.1 and later),
NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED
--myisam-use-mmap Use memory mapping for reading and writing MyISAM tables --myisam-use-mmap Use memory mapping for reading and writing MyISAM tables
--net-buffer-length=# --net-buffer-length=#
Buffer length for TCP/IP and socket communication Buffer length for TCP/IP and socket communication
--net-read-timeout=# --net-read-timeout=#
Number of seconds to wait for more data from a connection Number of seconds to wait for more data from a connection
before aborting the read before aborting the read
--net-retry-count=# If a read on a communication port is interrupted, retry --net-retry-count=# If a read on a communication port is interrupted, retry
this many times before giving up this many times before giving up
--net-write-timeout=# --net-write-timeout=#
Number of seconds to wait for a block to be written to a Number of seconds to wait for a block to be written to a
connection before aborting the write connection before aborting the write
-n, --new Use very new possible "unsafe" functions -n, --new Use very new possible "unsafe" functions
--old Use compatible behavior --old Use compatible behavior
--old-alter-table Use old, non-optimized alter table --old-alter-table Use old, non-optimized alter table
--old-passwords Use old password encryption method (needed for 4.0 and --old-passwords Use old password encryption method (needed for 4.0 and
older clients) older clients)
--old-style-user-limits --old-style-user-limits
Enable old-style user limits (before 5.0.3 user resources Enable old-style user limits (before 5.0.3 user resources
were counted per each user+host vs. per account) were counted per each user+host vs. per account)
--one-thread (deprecated): Only use one thread (for debugging under --one-thread (deprecated): Only use one thread (for debugging under
Linux). Use thread-handling=no-threads instead Linux). Use thread-handling=no-threads instead
--open-files-limit=# --open-files-limit=#
If this is not 0, then mysqld will use this value to If this is not 0, then mysqld will use this value to
reserve file descriptors to use with setrlimit(). If this reserve file descriptors to use with setrlimit(). If this
value is 0 then mysqld will reserve max_connections*5 or value is 0 then mysqld will reserve max_connections*5 or
max_connections + table_cache*2 (whichever is larger) max_connections + table_cache*2 (whichever is larger)
number of file descriptors number of file descriptors
--optimizer-prune-level=# --optimizer-prune-level=#
Controls the heuristic(s) applied during query Controls the heuristic(s) applied during query
optimization to prune less-promising partial plans from optimization to prune less-promising partial plans from
the optimizer search space. Meaning: 0 - do not apply any the optimizer search space. Meaning: 0 - do not apply any
heuristic, thus perform exhaustive search; 1 - prune heuristic, thus perform exhaustive search; 1 - prune
plans based on number of retrieved rows plans based on number of retrieved rows
--optimizer-search-depth=# --optimizer-search-depth=#
Maximum depth of search performed by the query optimizer. Maximum depth of search performed by the query optimizer.
Values larger than the number of relations in a query Values larger than the number of relations in a query
result in better query plans, but take longer to compile result in better query plans, but take longer to compile
a query. Values smaller than the number of tables in a a query. Values smaller than the number of tables in a
relation result in faster optimization, but may produce relation result in faster optimization, but may produce
very bad query plans. If set to 0, the system will very bad query plans. If set to 0, the system will
automatically pick a reasonable value; if set to 63, the automatically pick a reasonable value; if set to 63, the
optimizer will switch to the original find_best optimizer will switch to the original find_best
search(used for testing/comparison) search(used for testing/comparison)
--optimizer-switch=name --optimizer-switch=name
optimizer_switch=option=val[,option=val...], where option optimizer_switch=option=val[,option=val...], where option
is one of {index_merge, index_merge_union, is one of {index_merge, index_merge_union,
index_merge_sort_union, index_merge_intersection} and val index_merge_sort_union, index_merge_intersection} and val
is one of {on, off, default} is one of {on, off, default}
--pid-file=name Pid file used by safe_mysqld --pid-file=name Pid file used by safe_mysqld
--plugin-dir=name Directory for plugins --plugin-dir=name Directory for plugins
--plugin-load=name Optional semicolon-separated list of plugins to load, --plugin-load=name Optional semicolon-separated list of plugins to load,
where each plugin is identified as name=library, where where each plugin is identified as name=library, where
name is the plugin name and library is the plugin library name is the plugin name and library is the plugin library
in plugin_dir. in plugin_dir.
-P, --port=# Port number to use for connection or 0 to default to, -P, --port=# Port number to use for connection or 0 to default to,
my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default
(3306), whatever comes first (3306), whatever comes first
--port-open-timeout=# --port-open-timeout=#
Maximum time in seconds to wait for the port to become Maximum time in seconds to wait for the port to become
free. (Default: no wait) free. (Default: no wait)
--preload-buffer-size=# --preload-buffer-size=#
The size of the buffer that is allocated when preloading The size of the buffer that is allocated when preloading
indexes indexes
--profiling-history-size=# --profiling-history-size=#
Limit of query profiling memory Limit of query profiling memory
--query-alloc-block-size=# --query-alloc-block-size=#
Allocation block size for query parsing and execution Allocation block size for query parsing and execution
--query-cache-limit=# --query-cache-limit=#
Don't cache results that are bigger than this Don't cache results that are bigger than this
--query-cache-min-res-unit=# --query-cache-min-res-unit=#
The minimum size for blocks allocated by the query cache The minimum size for blocks allocated by the query cache
--query-cache-size=# --query-cache-size=#
The memory allocated to store results from old queries The memory allocated to store results from old queries
--query-cache-type=name --query-cache-type=name
OFF = Don't cache or retrieve results. ON = Cache all OFF = Don't cache or retrieve results. ON = Cache all
results except SELECT SQL_NO_CACHE ... queries. DEMAND = results except SELECT SQL_NO_CACHE ... queries. DEMAND =
Cache only SELECT SQL_CACHE ... queries Cache only SELECT SQL_CACHE ... queries
--query-cache-wlock-invalidate --query-cache-wlock-invalidate
Invalidate queries in query cache on LOCK for write Invalidate queries in query cache on LOCK for write
--query-prealloc-size=# --query-prealloc-size=#
Persistent buffer for query parsing and execution Persistent buffer for query parsing and execution
--range-alloc-block-size=# --range-alloc-block-size=#
Allocation block size for storing ranges during Allocation block size for storing ranges during
optimization optimization
--read-buffer-size=# --read-buffer-size=#
Each thread that does a sequential scan allocates a Each thread that does a sequential scan allocates a
buffer of this size for each table it scans. If you do buffer of this size for each table it scans. If you do
many sequential scans, you may want to increase this many sequential scans, you may want to increase this
value value
--read-only Make all non-temporary tables read-only, with the --read-only Make all non-temporary tables read-only, with the
exception for replication (slave) threads and users with exception for replication (slave) threads and users with
the SUPER privilege the SUPER privilege
--read-rnd-buffer-size=# --read-rnd-buffer-size=#
When reading rows in sorted order after a sort, the rows When reading rows in sorted order after a sort, the rows
are read through this buffer to avoid a disk seeks. If are read through this buffer to avoid a disk seeks. If
not set, then it's set to the value of record_buffer not set, then it's set to the value of record_buffer
--record-buffer=# Deprecated; use --read-buffer-size instead. --record-buffer=# Deprecated; use --read-buffer-size instead.
--relay-log=name The location and name to use for relay logs --relay-log=name The location and name to use for relay logs
--relay-log-index=name --relay-log-index=name
The location and name to use for the file that keeps a The location and name to use for the file that keeps a
list of the last relay logs list of the last relay logs
--relay-log-info-file=name --relay-log-info-file=name
The location and name of the file that remembers where The location and name of the file that remembers where
the SQL replication thread is in the relay logs the SQL replication thread is in the relay logs
--relay-log-purge if disabled - do not purge relay logs. if enabled - purge --relay-log-purge if disabled - do not purge relay logs. if enabled - purge
them as soon as they are no more needed them as soon as they are no more needed
(Defaults to on; use --skip-relay-log-purge to disable.) (Defaults to on; use --skip-relay-log-purge to disable.)
--relay-log-recovery --relay-log-recovery
Enables automatic relay log recovery right after the Enables automatic relay log recovery right after the
database startup, which means that the IO Thread starts database startup, which means that the IO Thread starts
re-fetching from the master right after the last re-fetching from the master right after the last
transaction processed transaction processed
--relay-log-space-limit=# --relay-log-space-limit=#
Maximum space to use for all relay logs Maximum space to use for all relay logs
--replicate-do-db=name --replicate-do-db=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
specified database. To specify more than one database, specified database. To specify more than one database,
use the directive multiple times, once for each database. use the directive multiple times, once for each database.
Note that this will only work if you do not use Note that this will only work if you do not use
cross-database queries such as UPDATE some_db.some_table cross-database queries such as UPDATE some_db.some_table
SET foo='bar' while having selected a different or no SET foo='bar' while having selected a different or no
database. If you need cross database updates to work, database. If you need cross database updates to work,
make sure you have 3.23.28 or later, and use make sure you have 3.23.28 or later, and use
replicate-wild-do-table=db_name.%. replicate-wild-do-table=db_name.%.
--replicate-do-table=name --replicate-do-table=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
specified table. To specify more than one table, use the specified table. To specify more than one table, use the
directive multiple times, once for each table. This will directive multiple times, once for each table. This will
work for cross-database updates, in contrast to work for cross-database updates, in contrast to
replicate-do-db. replicate-do-db.
--replicate-ignore-db=name --replicate-ignore-db=name
Tells the slave thread to not replicate to the specified Tells the slave thread to not replicate to the specified
database. To specify more than one database to ignore, database. To specify more than one database to ignore,
use the directive multiple times, once for each database. use the directive multiple times, once for each database.
This option will not work if you use cross database This option will not work if you use cross database
updates. If you need cross database updates to work, make updates. If you need cross database updates to work, make
sure you have 3.23.28 or later, and use sure you have 3.23.28 or later, and use
replicate-wild-ignore-table=db_name.%. replicate-wild-ignore-table=db_name.%.
--replicate-ignore-table=name --replicate-ignore-table=name
Tells the slave thread to not replicate to the specified Tells the slave thread to not replicate to the specified
table. To specify more than one table to ignore, use the table. To specify more than one table to ignore, use the
directive multiple times, once for each table. This will directive multiple times, once for each table. This will
work for cross-datbase updates, in contrast to work for cross-datbase updates, in contrast to
replicate-ignore-db. replicate-ignore-db.
--replicate-rewrite-db=name --replicate-rewrite-db=name
Updates to a database with a different name than the Updates to a database with a different name than the
original. Example: original. Example:
replicate-rewrite-db=master_db_name->slave_db_name. replicate-rewrite-db=master_db_name->slave_db_name.
--replicate-same-server-id --replicate-same-server-id
In replication, if set to 1, do not skip events having In replication, if set to 1, do not skip events having
our server id. Default value is 0 (to break infinite our server id. Default value is 0 (to break infinite
loops in circular replication). Can't be set to 1 if loops in circular replication). Can't be set to 1 if
--log-slave-updates is used. --log-slave-updates is used.
--replicate-wild-do-table=name --replicate-wild-do-table=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
tables that match the specified wildcard pattern. To tables that match the specified wildcard pattern. To
specify more than one table, use the directive multiple specify more than one table, use the directive multiple
times, once for each table. This will work for times, once for each table. This will work for
cross-database updates. Example: cross-database updates. Example:
replicate-wild-do-table=foo%.bar% will replicate only replicate-wild-do-table=foo%.bar% will replicate only
updates to tables in all databases that start with foo updates to tables in all databases that start with foo
and whose table names start with bar. and whose table names start with bar.
--replicate-wild-ignore-table=name --replicate-wild-ignore-table=name
Tells the slave thread to not replicate to the tables Tells the slave thread to not replicate to the tables
that match the given wildcard pattern. To specify more that match the given wildcard pattern. To specify more
than one table to ignore, use the directive multiple than one table to ignore, use the directive multiple
times, once for each table. This will work for times, once for each table. This will work for
cross-database updates. Example: cross-database updates. Example:
replicate-wild-ignore-table=foo%.bar% will not do updates replicate-wild-ignore-table=foo%.bar% will not do updates
to tables in databases that start with foo and whose to tables in databases that start with foo and whose
table names start with bar. table names start with bar.
--report-host=name Hostname or IP of the slave to be reported to the master --report-host=name Hostname or IP of the slave to be reported to the master
during slave registration. Will appear in the output of during slave registration. Will appear in the output of
SHOW SLAVE HOSTS. Leave unset if you do not want the SHOW SLAVE HOSTS. Leave unset if you do not want the
slave to register itself with the master. Note that it is slave to register itself with the master. Note that it is
not sufficient for the master to simply read the IP of not sufficient for the master to simply read the IP of
the slave off the socket once the slave connects. Due to the slave off the socket once the slave connects. Due to
NAT and other routing issues, that IP may not be valid NAT and other routing issues, that IP may not be valid
for connecting to the slave from the master or other for connecting to the slave from the master or other
hosts hosts
--report-password=name --report-password=name
The account password of the slave to be reported to the The account password of the slave to be reported to the
master during slave registration master during slave registration
--report-port=# Port for connecting to slave reported to the master --report-port=# Port for connecting to slave reported to the master
during slave registration. Set it only if the slave is during slave registration. Set it only if the slave is
listening on a non-default port or if you have a special listening on a non-default port or if you have a special
tunnel from the master or other clients to the slave. If tunnel from the master or other clients to the slave. If
not sure, leave this option unset not sure, leave this option unset
--report-user=name The account user name of the slave to be reported to the --report-user=name The account user name of the slave to be reported to the
master during slave registration master during slave registration
--rpl-recovery-rank=# --rpl-recovery-rank=#
Unused, will be removed Unused, will be removed
--safe-mode Skip some optimize stages (for testing). --safe-mode Skip some optimize stages (for testing).
--safe-show-database --safe-show-database
Deprecated option; use GRANT SHOW DATABASES instead... Deprecated option; use GRANT SHOW DATABASES instead...
--safe-user-create Don't allow new user creation by the user who has no --safe-user-create Don't allow new user creation by the user who has no
write privileges to the mysql.user table. write privileges to the mysql.user table.
--secure-auth Disallow authentication for accounts that have old --secure-auth Disallow authentication for accounts that have old
(pre-4.1) passwords (pre-4.1) passwords
--secure-file-priv=name --secure-file-priv=name
Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to
files within specified directory files within specified directory
--server-id=# Uniquely identifies the server instance in the community --server-id=# Uniquely identifies the server instance in the community
of replication partners of replication partners
-O, --set-variable=name -O, --set-variable=name
Change the value of a variable. Please note that this Change the value of a variable. Please note that this
option is deprecated;you can set variables directly with option is deprecated;you can set variables directly with
--variable-name=value. --variable-name=value.
--show-slave-auth-info --show-slave-auth-info
Show user and password in SHOW SLAVE HOSTS on this master Show user and password in SHOW SLAVE HOSTS on this master
--skip-grant-tables Start without grant tables. This gives all users FULL --skip-grant-tables Start without grant tables. This gives all users FULL
ACCESS to all tables! ACCESS to all tables!
--skip-host-cache Don't cache host names. --skip-host-cache Don't cache host names.
--skip-locking Deprecated option, use --skip-external-locking instead. --skip-locking Deprecated option, use --skip-external-locking instead.
--skip-name-resolve Don't resolve hostnames. All hostnames are IP's or --skip-name-resolve Don't resolve hostnames. All hostnames are IP's or
'localhost'. 'localhost'.
--skip-networking Don't allow connection with TCP/IP --skip-networking Don't allow connection with TCP/IP
--skip-new Don't use new, possible wrong routines. --skip-new Don't use new, possible wrong routines.
--skip-show-database --skip-show-database
Don't allow 'SHOW DATABASE' commands Don't allow 'SHOW DATABASE' commands
--skip-slave-start If set, slave is not autostarted. --skip-slave-start If set, slave is not autostarted.
--skip-stack-trace Don't print a stack trace on failure. --skip-stack-trace Don't print a stack trace on failure.
--skip-symlink Don't allow symlinking of tables. Deprecated option. Use --skip-symlink Don't allow symlinking of tables. Deprecated option. Use
--skip-symbolic-links instead. --skip-symbolic-links instead.
--skip-thread-priority --skip-thread-priority
Don't give threads different priorities. This option is Don't give threads different priorities. This option is
deprecated because it has no effect; the implied behavior deprecated because it has no effect; the implied behavior
is already the default. is already the default.
--slave-compressed-protocol --slave-compressed-protocol
Use compression on master/slave protocol Use compression on master/slave protocol
--slave-exec-mode=name --slave-exec-mode=name
Modes for how replication events should be executed. Modes for how replication events should be executed.
Legal values are STRICT (default) and IDEMPOTENT. In Legal values are STRICT (default) and IDEMPOTENT. In
IDEMPOTENT mode, replication will not stop for operations IDEMPOTENT mode, replication will not stop for operations
that are idempotent. In STRICT mode, replication will that are idempotent. In STRICT mode, replication will
stop on any unexpected difference between the master and stop on any unexpected difference between the master and
the slave the slave
--slave-load-tmpdir=name --slave-load-tmpdir=name
The location where the slave should put its temporary The location where the slave should put its temporary
files when replicating a LOAD DATA INFILE command files when replicating a LOAD DATA INFILE command
--slave-net-timeout=# --slave-net-timeout=#
Number of seconds to wait for more data from a Number of seconds to wait for more data from a
master/slave connection before aborting the read master/slave connection before aborting the read
--slave-skip-errors=name --slave-skip-errors=name
Tells the slave thread to continue replication when a Tells the slave thread to continue replication when a
query event returns an error from the provided list query event returns an error from the provided list
--slave-transaction-retries=# --slave-transaction-retries=#
Number of times the slave SQL thread will retry a Number of times the slave SQL thread will retry a
transaction in case it failed with a deadlock or elapsed transaction in case it failed with a deadlock or elapsed
lock wait timeout, before giving up and stopping lock wait timeout, before giving up and stopping
--slow-launch-time=# --slow-launch-time=#
If creating the thread takes longer than this value (in If creating the thread takes longer than this value (in
seconds), the Slow_launch_threads counter will be seconds), the Slow_launch_threads counter will be
incremented incremented
--slow-query-log Log slow queries to a table or log file. Defaults logging --slow-query-log Log slow queries to a table or log file. Defaults logging
to a file hostname-slow.log or a table mysql.slow_log if to a file hostname-slow.log or a table mysql.slow_log if
--log-output=TABLE is used. Must be enabled to activate --log-output=TABLE is used. Must be enabled to activate
other slow log options other slow log options
--slow-query-log-file=name --slow-query-log-file=name
Log slow queries to given log file. Defaults logging to Log slow queries to given log file. Defaults logging to
hostname-slow.log. Must be enabled to activate other slow hostname-slow.log. Must be enabled to activate other slow
log options log options
--socket=name Socket file to use for connection --socket=name Socket file to use for connection
--sort-buffer-size=# --sort-buffer-size=#
Each thread that needs to do a sort allocates a buffer of Each thread that needs to do a sort allocates a buffer of
this size this size
--sporadic-binlog-dump-fail --sporadic-binlog-dump-fail
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--sql-bin-update-same --sql-bin-update-same
The update log is deprecated since version 5.0, is The update log is deprecated since version 5.0, is
replaced by the binary log and this option does nothing replaced by the binary log and this option does nothing
anymore. anymore.
--sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual --sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual
for the complete list of valid sql modes for the complete list of valid sql modes
-s, --symbolic-links -s, --symbolic-links
Enable symbolic link support. Enable symbolic link support.
--sync-binlog=# Synchronously flush binary log to disk after every #th --sync-binlog=# Synchronously flush binary log to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-frm Sync .frm files to disk on creation --sync-frm Sync .frm files to disk on creation
(Defaults to on; use --skip-sync-frm to disable.) (Defaults to on; use --skip-sync-frm to disable.)
--sync-master-info=# --sync-master-info=#
Synchronously flush master info to disk after every #th Synchronously flush master info to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-relay-log=# Synchronously flush relay log to disk after every #th --sync-relay-log=# Synchronously flush relay log to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-relay-log-info=# --sync-relay-log-info=#
Synchronously flush relay log info to disk after every Synchronously flush relay log info to disk after every
#th transaction. Use 0 (default) to disable synchronous #th transaction. Use 0 (default) to disable synchronous
flushing flushing
--sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it --sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it
safe-replicable. Since 5.0, SYSDATE() returns a `dynamic' safe-replicable. Since 5.0, SYSDATE() returns a `dynamic'
value different for different invocations, even within value different for different invocations, even within
the same statement. the same statement.
--table-cache=# Deprecated; use --table-open-cache instead. --table-cache=# Deprecated; use --table-open-cache instead.
--table-definition-cache=# --table-definition-cache=#
The number of cached table definitions The number of cached table definitions
--table-lock-wait-timeout=# --table-lock-wait-timeout=#
Timeout in seconds to wait for a table level lock before Timeout in seconds to wait for a table level lock before
returning an error. Used only if the connection has returning an error. Used only if the connection has
active cursors active cursors
--table-open-cache=# --table-open-cache=#
The number of cached open tables The number of cached open tables
--tc-heuristic-recover=name --tc-heuristic-recover=name
Decision to use in heuristic recover process. Possible Decision to use in heuristic recover process. Possible
values are COMMIT or ROLLBACK. values are COMMIT or ROLLBACK.
--thread-cache-size=# --thread-cache-size=#
How many threads we should keep in a cache for reuse How many threads we should keep in a cache for reuse
--thread-handling=name --thread-handling=name
Define threads usage for handling queries, one of Define threads usage for handling queries, one of
one-thread-per-connection, no-threads one-thread-per-connection, no-threads
--thread-stack=# The stack size for each thread --thread-stack=# The stack size for each thread
--time-format=name The TIME format (ignored) --time-format=name The TIME format (ignored)
--timed-mutexes Specify whether to time mutexes (only InnoDB mutexes are --timed-mutexes Specify whether to time mutexes (only InnoDB mutexes are
currently supported) currently supported)
--tmp-table-size=# If an internal in-memory temporary table exceeds this --tmp-table-size=# If an internal in-memory temporary table exceeds this
size, MySQL will automatically convert it to an on-disk size, MySQL will automatically convert it to an on-disk
MyISAM table MyISAM table
-t, --tmpdir=name Path for temporary files. Several paths may be specified, -t, --tmpdir=name Path for temporary files. Several paths may be specified,
separated by a colon (:), in this case they are used in a separated by a colon (:), in this case they are used in a
round-robin fashion round-robin fashion
--transaction-alloc-block-size=# --transaction-alloc-block-size=#
Allocation block size for transactions to be stored in Allocation block size for transactions to be stored in
binary log binary log
--transaction-isolation=name --transaction-isolation=name
Default transaction isolation level. Default transaction isolation level.
--transaction-prealloc-size=# --transaction-prealloc-size=#
Persistent buffer for transactions to be stored in binary Persistent buffer for transactions to be stored in binary
log log
--updatable-views-with-limit=name --updatable-views-with-limit=name
YES = Don't issue an error message (warning only) if a YES = Don't issue an error message (warning only) if a
VIEW without presence of a key of the underlying table is VIEW without presence of a key of the underlying table is
used in queries with a LIMIT clause for updating. NO = used in queries with a LIMIT clause for updating. NO =
Prohibit update of a VIEW, which does not contain a key Prohibit update of a VIEW, which does not contain a key
of the underlying table and the query uses a LIMIT clause of the underlying table and the query uses a LIMIT clause
(usually get from GUI tools) (usually get from GUI tools)
-s, --use-symbolic-links -s, --use-symbolic-links
Enable symbolic link support. Deprecated option; use Enable symbolic link support. Deprecated option; use
--symbolic-links instead. --symbolic-links instead.
-u, --user=name Run mysqld daemon as user. -u, --user=name Run mysqld daemon as user.
-v, --verbose Used with --help option for detailed help -v, --verbose Used with --help option for detailed help
-V, --version Output version information and exit. -V, --version Output version information and exit.
--wait-timeout=# The number of seconds the server waits for activity on a --wait-timeout=# The number of seconds the server waits for activity on a
connection before closing it connection before closing it
-W, --warnings[=#] Deprecated; use --log-warnings instead. -W, --warnings[=#] Deprecated; use --log-warnings instead.
Variables (--variable-name=value) Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options) abort-slave-event-count 0
--------------------------------- ---------------------------------------- allow-suspicious-udfs FALSE
abort-slave-event-count 0 auto-increment-increment 1
allow-suspicious-udfs FALSE auto-increment-offset 1
auto-increment-increment 1 automatic-sp-privileges TRUE
auto-increment-offset 1 back-log 50
automatic-sp-privileges TRUE big-tables FALSE
back-log 50 bind-address (No default value)
big-tables FALSE binlog-cache-size 32768
bind-address (No default value) binlog-format STATEMENT
binlog-cache-size 32768 binlog-row-event-max-size 1024
binlog-format STATEMENT bulk-insert-buffer-size 8388608
binlog-row-event-max-size 1024 character-set-client-handshake TRUE
bulk-insert-buffer-size 8388608 character-set-filesystem binary
character-set-client-handshake TRUE character-set-server latin1
character-set-filesystem binary character-sets-dir MYSQL_CHARSETSDIR/
character-set-server latin1 chroot (No default value)
character-sets-dir MYSQL_CHARSETSDIR/ collation-server latin1_swedish_ci
chroot (No default value) completion-type NO_CHAIN
collation-server latin1_swedish_ci concurrent-insert AUTO
completion-type NO_CHAIN connect-timeout 10
concurrent-insert AUTO console FALSE
connect-timeout 10 datadir MYSQLTEST_VARDIR/install.db/
console FALSE date-format %Y-%m-%d
datadir MYSQLTEST_VARDIR/install.db/ datetime-format %Y-%m-%d %H:%i:%s
date-format %Y-%m-%d default-character-set latin1
datetime-format %Y-%m-%d %H:%i:%s default-collation latin1_swedish_ci
default-character-set latin1 default-storage-engine MyISAM
default-collation latin1_swedish_ci default-time-zone (No default value)
default-storage-engine MyISAM default-week-format 0
default-time-zone (No default value) delay-key-write ON
default-week-format 0 delayed-insert-limit 100
delay-key-write ON delayed-insert-timeout 300
delayed-insert-limit 100 delayed-queue-size 1000
delayed-insert-timeout 300 disconnect-slave-event-count 0
delayed-queue-size 1000 div-precision-increment 4
disconnect-slave-event-count 0 enable-locking FALSE
div-precision-increment 4 engine-condition-pushdown TRUE
enable-locking FALSE event-scheduler OFF
engine-condition-pushdown TRUE expire-logs-days 0
event-scheduler OFF external-locking FALSE
expire-logs-days 0 flush FALSE
external-locking FALSE flush-time 0
flush FALSE ft-boolean-syntax + -><()~*:""&|
flush-time 0 ft-max-word-len 84
ft-boolean-syntax + -><()~*:""&| ft-min-word-len 4
ft-max-word-len 84 ft-query-expansion-limit 20
ft-min-word-len 4 ft-stopword-file (No default value)
ft-query-expansion-limit 20 gdb FALSE
ft-stopword-file (No default value) general-log FALSE
gdb FALSE group-concat-max-len 1024
general-log FALSE help TRUE
group-concat-max-len 1024 ignore-builtin-innodb FALSE
help TRUE init-connect
ignore-builtin-innodb FALSE init-file (No default value)
init-connect init-rpl-role MASTER
init-file (No default value) init-slave
init-rpl-role MASTER interactive-timeout 28800
init-slave join-buffer-size 131072
interactive-timeout 28800 keep-files-on-create FALSE
join-buffer-size 131072 key-buffer-size 8388608
keep-files-on-create FALSE key-cache-age-threshold 300
key-buffer-size 8388608 key-cache-block-size 1024
key-cache-age-threshold 300 key-cache-division-limit 100
key-cache-block-size 1024 language MYSQL_SHAREDIR/
key-cache-division-limit 100 large-pages FALSE
language MYSQL_SHAREDIR/ lc-messages en_US
large-pages FALSE lc-messages-dir MYSQL_SHAREDIR/
lc-messages en_US lc-time-names en_US
lc-messages-dir MYSQL_SHAREDIR/ local-infile TRUE
lc-time-names en_US log-bin (No default value)
local-infile TRUE log-bin-index (No default value)
log-bin (No default value) log-bin-trust-function-creators FALSE
log-bin-index (No default value) log-error
log-bin-trust-function-creators FALSE log-isam myisam.log
log-error log-output FILE
log-isam myisam.log log-queries-not-using-indexes FALSE
log-output FILE log-short-format FALSE
log-queries-not-using-indexes FALSE log-slave-updates FALSE
log-short-format FALSE log-slow-admin-statements FALSE
log-slave-updates FALSE log-slow-slave-statements FALSE
log-slow-admin-statements FALSE log-tc tc.log
log-slow-slave-statements FALSE log-tc-size 24576
log-tc tc.log log-update (No default value)
log-tc-size 24576 log-warnings 1
log-update (No default value) long-query-time 10
log-warnings 1 low-priority-updates FALSE
long-query-time 10 lower-case-table-names 1
low-priority-updates FALSE master-info-file master.info
lower-case-table-names 1 master-retry-count 86400
master-info-file master.info max-allowed-packet 1048576
master-retry-count 86400 max-binlog-cache-size 18446744073709547520
max-allowed-packet 1048576 max-binlog-dump-events 0
max-binlog-cache-size 18446744073709547520 max-binlog-size 1073741824
max-binlog-dump-events 0 max-connect-errors 10
max-binlog-size 1073741824 max-connections 151
max-connect-errors 10 max-delayed-threads 20
max-connections 151 max-error-count 64
max-delayed-threads 20 max-heap-table-size 16777216
max-error-count 64 max-join-size 18446744073709551615
max-heap-table-size 16777216 max-length-for-sort-data 1024
max-join-size 18446744073709551615 max-prepared-stmt-count 16382
max-length-for-sort-data 1024 max-relay-log-size 0
max-prepared-stmt-count 16382 max-seeks-for-key 18446744073709551615
max-relay-log-size 0 max-sort-length 1024
max-seeks-for-key 18446744073709551615 max-sp-recursion-depth 0
max-sort-length 1024 max-tmp-tables 32
max-sp-recursion-depth 0 max-user-connections 0
max-tmp-tables 32 max-write-lock-count 18446744073709551615
max-user-connections 0 memlock FALSE
max-write-lock-count 18446744073709551615 min-examined-row-limit 0
memlock FALSE multi-range-count 256
min-examined-row-limit 0 myisam-block-size 1024
multi-range-count 256 myisam-data-pointer-size 6
myisam-block-size 1024 myisam-max-sort-file-size 9223372036853727232
myisam-data-pointer-size 6 myisam-mmap-size 18446744073709551615
myisam-max-sort-file-size 9223372036853727232 myisam-recover-options OFF
myisam-mmap-size 18446744073709551615 myisam-repair-threads 1
myisam-recover-options OFF myisam-sort-buffer-size 8388608
myisam-repair-threads 1 myisam-stats-method nulls_unequal
myisam-sort-buffer-size 8388608 myisam-use-mmap FALSE
myisam-stats-method nulls_unequal net-buffer-length 16384
myisam-use-mmap FALSE net-read-timeout 30
net-buffer-length 16384 net-retry-count 10
net-read-timeout 30 net-write-timeout 60
net-retry-count 10 new FALSE
net-write-timeout 60 old FALSE
new FALSE old-alter-table FALSE
old FALSE old-passwords FALSE
old-alter-table FALSE old-style-user-limits FALSE
old-passwords FALSE optimizer-prune-level 1
old-style-user-limits FALSE optimizer-search-depth 62
optimizer-prune-level 1 optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on
optimizer-search-depth 62 plugin-load (No default value)
optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on port 3306
plugin-load (No default value) port-open-timeout 0
port 3306 preload-buffer-size 32768
port-open-timeout 0 profiling-history-size 15
preload-buffer-size 32768 query-alloc-block-size 8192
profiling-history-size 15 query-cache-limit 1048576
query-alloc-block-size 8192 query-cache-min-res-unit 4096
query-cache-limit 1048576 query-cache-size 0
query-cache-min-res-unit 4096 query-cache-type ON
query-cache-size 0 query-cache-wlock-invalidate FALSE
query-cache-type ON query-prealloc-size 8192
query-cache-wlock-invalidate FALSE range-alloc-block-size 4096
query-prealloc-size 8192 read-buffer-size 131072
range-alloc-block-size 4096 read-only FALSE
read-buffer-size 131072 read-rnd-buffer-size 262144
read-only FALSE record-buffer 131072
read-rnd-buffer-size 262144 relay-log (No default value)
record-buffer 131072 relay-log-index (No default value)
relay-log (No default value) relay-log-info-file relay-log.info
relay-log-index (No default value) relay-log-purge TRUE
relay-log-info-file relay-log.info relay-log-recovery FALSE
relay-log-purge TRUE relay-log-space-limit 0
relay-log-recovery FALSE replicate-same-server-id FALSE
relay-log-space-limit 0 report-host (No default value)
replicate-same-server-id FALSE report-password (No default value)
report-host (No default value) report-port 3306
report-password (No default value) report-user (No default value)
report-port 3306 rpl-recovery-rank 0
report-user (No default value) safe-user-create FALSE
rpl-recovery-rank 0 secure-auth FALSE
safe-user-create FALSE secure-file-priv (No default value)
secure-auth FALSE server-id 0
secure-file-priv (No default value) show-slave-auth-info FALSE
server-id 0 skip-grant-tables TRUE
show-slave-auth-info FALSE skip-networking FALSE
skip-grant-tables TRUE skip-show-database FALSE
skip-networking FALSE skip-slave-start FALSE
skip-show-database FALSE slave-compressed-protocol FALSE
skip-slave-start FALSE slave-exec-mode STRICT
slave-compressed-protocol FALSE slave-load-tmpdir MYSQLTEST_VARDIR/tmp/
slave-exec-mode STRICT slave-net-timeout 3600
slave-load-tmpdir MYSQLTEST_VARDIR/tmp/ slave-skip-errors (No default value)
slave-net-timeout 3600 slave-transaction-retries 10
slave-skip-errors (No default value) slow-launch-time 2
slave-transaction-retries 10 slow-query-log FALSE
slow-launch-time 2 socket /tmp/mysql.sock
slow-query-log FALSE sort-buffer-size 2097152
socket /tmp/mysql.sock sporadic-binlog-dump-fail FALSE
sort-buffer-size 2097152 sql-mode
sporadic-binlog-dump-fail FALSE symbolic-links FALSE
sql-mode sync-binlog 0
symbolic-links FALSE sync-frm TRUE
sync-binlog 0 sync-master-info 0
sync-frm TRUE sync-relay-log 0
sync-master-info 0 sync-relay-log-info 0
sync-relay-log 0 sysdate-is-now FALSE
sync-relay-log-info 0 table-cache 400
sysdate-is-now FALSE table-definition-cache 400
table-cache 400 table-lock-wait-timeout 50
table-definition-cache 400 table-open-cache 400
table-lock-wait-timeout 50 tc-heuristic-recover COMMIT
table-open-cache 400 thread-cache-size 0
tc-heuristic-recover COMMIT thread-handling one-thread-per-connection
thread-cache-size 0 thread-stack 262144
thread-handling one-thread-per-connection time-format %H:%i:%s
thread-stack 262144 timed-mutexes FALSE
time-format %H:%i:%s tmp-table-size 16777216
timed-mutexes FALSE tmpdir MYSQLTEST_VARDIR/tmp/
tmp-table-size 16777216 transaction-alloc-block-size 8192
tmpdir MYSQLTEST_VARDIR/tmp/ transaction-isolation REPEATABLE-READ
transaction-alloc-block-size 8192 transaction-prealloc-size 4096
transaction-isolation REPEATABLE-READ updatable-views-with-limit YES
transaction-prealloc-size 4096 use-symbolic-links FALSE
updatable-views-with-limit YES verbose TRUE
use-symbolic-links FALSE wait-timeout 28800
verbose TRUE warnings 1
wait-timeout 28800
warnings 1
To see what values a running MySQL server is using, type To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --verbose --help'. 'mysqladmin variables' instead of 'mysqld --verbose --help'.
...@@ -4,928 +4,926 @@ The following options may be given as the first argument: ...@@ -4,928 +4,926 @@ The following options may be given as the first argument:
--defaults-file=# Only read default options from the given file # --defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read --defaults-extra-file=# Read this file after the global files are read
--abort-slave-event-count=# --abort-slave-event-count=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--allow-suspicious-udfs --allow-suspicious-udfs
Allows use of UDFs consisting of only one symbol xxx() Allows use of UDFs consisting of only one symbol xxx()
without corresponding xxx_init() or xxx_deinit(). That without corresponding xxx_init() or xxx_deinit(). That
also means that one can load any function from any also means that one can load any function from any
library, for example exit() from libc.so library, for example exit() from libc.so
-a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
will also set transaction isolation level 'serializable'. will also set transaction isolation level 'serializable'.
--auto-increment-increment[=#] --auto-increment-increment[=#]
Auto-increment columns are incremented by this Auto-increment columns are incremented by this
--auto-increment-offset[=#] --auto-increment-offset[=#]
Offset added to Auto-increment columns. Used when Offset added to Auto-increment columns. Used when
auto-increment-increment != 1 auto-increment-increment != 1
--automatic-sp-privileges --automatic-sp-privileges
Creating and dropping stored procedures alters ACLs Creating and dropping stored procedures alters ACLs
(Defaults to on; use --skip-automatic-sp-privileges to disable.) (Defaults to on; use --skip-automatic-sp-privileges to disable.)
--back-log=# The number of outstanding connection requests MySQL can --back-log=# The number of outstanding connection requests MySQL can
have. This comes into play when the main MySQL thread have. This comes into play when the main MySQL thread
gets very many connection requests in a very short time gets very many connection requests in a very short time
-b, --basedir=name Path to installation directory. All paths are usually -b, --basedir=name Path to installation directory. All paths are usually
resolved relative to this resolved relative to this
--big-tables Allow big result sets by saving all temporary sets on --big-tables Allow big result sets by saving all temporary sets on
file (Solves most 'table full' errors) file (Solves most 'table full' errors)
--bind-address=name IP address to bind to. --bind-address=name IP address to bind to.
--binlog-cache-size=# --binlog-cache-size=#
The size of the cache to hold the SQL statements for the The size of the cache to hold the SQL statements for the
binary log during a transaction. If you often use big, binary log during a transaction. If you often use big,
multi-statement transactions you can increase this to get multi-statement transactions you can increase this to get
more performance more performance
--binlog-do-db=name Tells the master it should log updates for the specified --binlog-do-db=name Tells the master it should log updates for the specified
database, and exclude all others not explicitly database, and exclude all others not explicitly
mentioned. mentioned.
--binlog-format=name --binlog-format=name
What form of binary logging the master will use: either What form of binary logging the master will use: either
ROW for row-based binary logging, STATEMENT for ROW for row-based binary logging, STATEMENT for
statement-based binary logging, or MIXED. MIXED is statement-based binary logging, or MIXED. MIXED is
statement-based binary logging except for those statement-based binary logging except for those
statements where only row-based is correct: those which statements where only row-based is correct: those which
involve user-defined functions (i.e. UDFs) or the UUID() involve user-defined functions (i.e. UDFs) or the UUID()
function; for those, row-based binary logging is function; for those, row-based binary logging is
automatically used. If NDBCLUSTER is enabled and automatically used. If NDBCLUSTER is enabled and
binlog-format is MIXED, the format switches to row-based binlog-format is MIXED, the format switches to row-based
and back implicitly per each query accessing an and back implicitly per each query accessing an
NDBCLUSTER table NDBCLUSTER table
--binlog-ignore-db=name --binlog-ignore-db=name
Tells the master that updates to the given database Tells the master that updates to the given database
should not be logged tothe binary log. should not be logged tothe binary log.
--binlog-row-event-max-size=# --binlog-row-event-max-size=#
The maximum size of a row-based binary log event in The maximum size of a row-based binary log event in
bytes. Rows will be grouped into events smaller than this bytes. Rows will be grouped into events smaller than this
size if possible. The value has to be a multiple of 256. size if possible. The value has to be a multiple of 256.
--bootstrap Used by mysql installation scripts. --bootstrap Used by mysql installation scripts.
--bulk-insert-buffer-size=# --bulk-insert-buffer-size=#
Size of tree cache used in bulk insert optimisation. Note Size of tree cache used in bulk insert optimisation. Note
that this is a limit per thread! that this is a limit per thread!
--character-set-client-handshake --character-set-client-handshake
Don't ignore client side character set value sent during Don't ignore client side character set value sent during
handshake. handshake.
(Defaults to on; use --skip-character-set-client-handshake to disable.) (Defaults to on; use --skip-character-set-client-handshake to disable.)
--character-set-filesystem=name --character-set-filesystem=name
Set the filesystem character set. Set the filesystem character set.
-C, --character-set-server=name -C, --character-set-server=name
Set the default character set. Set the default character set.
--character-sets-dir=name --character-sets-dir=name
Directory where character sets are Directory where character sets are
-r, --chroot=name Chroot mysqld daemon during startup. -r, --chroot=name Chroot mysqld daemon during startup.
--collation-server=name --collation-server=name
Set the default collation. Set the default collation.
--completion-type=name --completion-type=name
The transaction completion type, one of NO_CHAIN, CHAIN, The transaction completion type, one of NO_CHAIN, CHAIN,
RELEASE RELEASE
--concurrent-insert[=name] --concurrent-insert[=name]
Use concurrent insert with MyISAM. Possible values are Use concurrent insert with MyISAM. Possible values are
NEVER, AUTO, ALWAYS NEVER, AUTO, ALWAYS
--connect-timeout=# The number of seconds the mysqld server is waiting for a --connect-timeout=# The number of seconds the mysqld server is waiting for a
connect packet before responding with 'Bad handshake' connect packet before responding with 'Bad handshake'
--console Write error output on screen; Don't remove the console --console Write error output on screen; Don't remove the console
window on windows. window on windows.
--core-file Write core on errors. --core-file Write core on errors.
-h, --datadir=name Path to the database root directory -h, --datadir=name Path to the database root directory
--date-format=name The DATE format (ignored) --date-format=name The DATE format (ignored)
--datetime-format=name --datetime-format=name
The DATETIME format (ignored) The DATETIME format (ignored)
-C, --default-character-set=name -C, --default-character-set=name
Set the default character set (deprecated option, use Set the default character set (deprecated option, use
--character-set-server instead). --character-set-server instead).
--default-collation=name --default-collation=name
Set the default collation (deprecated option, use Set the default collation (deprecated option, use
--collation-server instead). --collation-server instead).
--default-storage-engine=name --default-storage-engine=name
The default storage engine for new tables The default storage engine for new tables
--default-time-zone=name --default-time-zone=name
Set the default time zone. Set the default time zone.
--default-week-format=# --default-week-format=#
The default week format used by WEEK() functions The default week format used by WEEK() functions
--delay-key-write[=name] --delay-key-write[=name]
Type of DELAY_KEY_WRITE Type of DELAY_KEY_WRITE
--delay-key-write-for-all-tables --delay-key-write-for-all-tables
Don't flush key buffers between writes for any MyISAM Don't flush key buffers between writes for any MyISAM
table (Deprecated option, use --delay-key-write=all table (Deprecated option, use --delay-key-write=all
instead). instead).
--delayed-insert-limit=# --delayed-insert-limit=#
After inserting delayed_insert_limit rows, the INSERT After inserting delayed_insert_limit rows, the INSERT
DELAYED handler will check if there are any SELECT DELAYED handler will check if there are any SELECT
statements pending. If so, it allows these to execute statements pending. If so, it allows these to execute
before continuing before continuing
--delayed-insert-timeout=# --delayed-insert-timeout=#
How long a INSERT DELAYED thread should wait for INSERT How long a INSERT DELAYED thread should wait for INSERT
statements before terminating statements before terminating
--delayed-queue-size=# --delayed-queue-size=#
What size queue (in rows) should be allocated for What size queue (in rows) should be allocated for
handling INSERT DELAYED. If the queue becomes full, any handling INSERT DELAYED. If the queue becomes full, any
client that does INSERT DELAYED will wait until there is client that does INSERT DELAYED will wait until there is
room in the queue again room in the queue again
--disconnect-slave-event-count=# --disconnect-slave-event-count=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--div-precision-increment=# --div-precision-increment=#
Precision of the result of '/' operator will be increased Precision of the result of '/' operator will be increased
on that value on that value
--enable-locking Deprecated option, use --external-locking instead. --enable-locking Deprecated option, use --external-locking instead.
--engine-condition-pushdown --engine-condition-pushdown
Push supported query conditions to the storage engine Push supported query conditions to the storage engine
(Defaults to on; use --skip-engine-condition-pushdown to disable.) (Defaults to on; use --skip-engine-condition-pushdown to disable.)
--event-scheduler[=name] --event-scheduler[=name]
Enable the event scheduler. Possible values are ON, OFF, Enable the event scheduler. Possible values are ON, OFF,
and DISABLED (keep the event scheduler completely and DISABLED (keep the event scheduler completely
deactivated, it cannot be activated run-time) deactivated, it cannot be activated run-time)
-T, --exit-info[=#] Used for debugging; Use at your own risk! -T, --exit-info[=#] Used for debugging; Use at your own risk!
--expire-logs-days=# --expire-logs-days=#
If non-zero, binary logs will be purged after If non-zero, binary logs will be purged after
expire_logs_days days; possible purges happen at startup expire_logs_days days; possible purges happen at startup
and at binary log rotation and at binary log rotation
--external-locking Use system (external) locking (disabled by default). --external-locking Use system (external) locking (disabled by default).
With this option enabled you can run myisamchk to test With this option enabled you can run myisamchk to test
(not repair) tables while the MySQL server is running. (not repair) tables while the MySQL server is running.
Disable with --skip-external-locking. Disable with --skip-external-locking.
--flush Flush MyISAM tables to disk between SQL commands --flush Flush MyISAM tables to disk between SQL commands
--flush-time=# A dedicated thread is created to flush all tables at the --flush-time=# A dedicated thread is created to flush all tables at the
given interval given interval
--ft-boolean-syntax=name --ft-boolean-syntax=name
List of operators for MATCH ... AGAINST ( ... IN BOOLEAN List of operators for MATCH ... AGAINST ( ... IN BOOLEAN
MODE) MODE)
--ft-max-word-len=# The maximum length of the word to be included in a --ft-max-word-len=# The maximum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable after changing this variable
--ft-min-word-len=# The minimum length of the word to be included in a --ft-min-word-len=# The minimum length of the word to be included in a
FULLTEXT index. Note: FULLTEXT indexes must be rebuilt FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
after changing this variable after changing this variable
--ft-query-expansion-limit=# --ft-query-expansion-limit=#
Number of best matches to use for query expansion Number of best matches to use for query expansion
--ft-stopword-file=name --ft-stopword-file=name
Use stopwords from this file instead of built-in list Use stopwords from this file instead of built-in list
--gdb Set up signals usable for debugging --gdb Set up signals usable for debugging
--general-log Log connections and queries to a table or log file. --general-log Log connections and queries to a table or log file.
Defaults logging to a file hostname.log or a table Defaults logging to a file hostname.log or a table
mysql.general_logif --log-output=TABLE is used mysql.general_logif --log-output=TABLE is used
--general-log-file=name --general-log-file=name
Log connections and queries to given file Log connections and queries to given file
--group-concat-max-len=# --group-concat-max-len=#
The maximum length of the result of function The maximum length of the result of function
GROUP_CONCAT() GROUP_CONCAT()
-?, --help Display this help and exit. -?, --help Display this help and exit.
--ignore-builtin-innodb --ignore-builtin-innodb
Disable initialization of builtin InnoDB plugin Disable initialization of builtin InnoDB plugin
--init-connect=name Command(s) that are executed for each new connection --init-connect=name Command(s) that are executed for each new connection
--init-file=name Read SQL commands from this file at startup --init-file=name Read SQL commands from this file at startup
--init-rpl-role=name --init-rpl-role=name
Set the replication role. Set the replication role.
--init-slave=name Command(s) that are executed by a slave server each time --init-slave=name Command(s) that are executed by a slave server each time
the SQL thread starts the SQL thread starts
--interactive-timeout=# --interactive-timeout=#
The number of seconds the server waits for activity on an The number of seconds the server waits for activity on an
interactive connection before closing it interactive connection before closing it
--join-buffer-size=# --join-buffer-size=#
The size of the buffer that is used for full joins The size of the buffer that is used for full joins
--keep-files-on-create --keep-files-on-create
Don't overwrite stale .MYD and .MYI even if no directory Don't overwrite stale .MYD and .MYI even if no directory
is specified is specified
--key-buffer-size=# The size of the buffer used for index blocks for MyISAM --key-buffer-size=# The size of the buffer used for index blocks for MyISAM
tables. Increase this to get better index handling (for tables. Increase this to get better index handling (for
all reads and multiple writes) to as much as you can all reads and multiple writes) to as much as you can
afford afford
--key-cache-age-threshold=# --key-cache-age-threshold=#
This characterizes the number of hits a hot block has to This characterizes the number of hits a hot block has to
be untouched until it is considered aged enough to be be untouched until it is considered aged enough to be
downgraded to a warm block. This specifies the percentage downgraded to a warm block. This specifies the percentage
ratio of that number of hits to the total number of ratio of that number of hits to the total number of
blocks in key cache blocks in key cache
--key-cache-block-size=# --key-cache-block-size=#
The default size of key cache blocks The default size of key cache blocks
--key-cache-division-limit=# --key-cache-division-limit=#
The minimum percentage of warm blocks in key cache The minimum percentage of warm blocks in key cache
-L, --language=name Client error messages in given language. May be given as -L, --language=name Client error messages in given language. May be given as
a full path. Deprecated. Use --lc-messages-dir instead. a full path. Deprecated. Use --lc-messages-dir instead.
--lc-messages=name Set the language used for the error messages. --lc-messages=name Set the language used for the error messages.
-L, --lc-messages-dir=name -L, --lc-messages-dir=name
Directory where error messages are Directory where error messages are
--lc-time-names=name --lc-time-names=name
Set the language used for the month names and the days of Set the language used for the month names and the days of
the week. the week.
--local-infile Enable LOAD DATA LOCAL INFILE --local-infile Enable LOAD DATA LOCAL INFILE
(Defaults to on; use --skip-local-infile to disable.) (Defaults to on; use --skip-local-infile to disable.)
-l, --log[=name] Log connections and queries to file (deprecated option, -l, --log[=name] Log connections and queries to file (deprecated option,
use --general-log/--general-log-file instead). use --general-log/--general-log-file instead).
--log-bin[=name] Log update queries in binary format. Optional (but --log-bin[=name] Log update queries in binary format. Optional (but
strongly recommended to avoid replication problems if strongly recommended to avoid replication problems if
server's hostname changes) argument should be the chosen server's hostname changes) argument should be the chosen
location for the binary log files. location for the binary log files.
--log-bin-index=name --log-bin-index=name
File that holds the names for last binary log files. File that holds the names for last binary log files.
--log-bin-trust-function-creators --log-bin-trust-function-creators
If set to FALSE (the default), then when --log-bin is If set to FALSE (the default), then when --log-bin is
used, creation of a stored function (or trigger) is used, creation of a stored function (or trigger) is
allowed only to users having the SUPER privilege and only allowed only to users having the SUPER privilege and only
if this stored function (trigger) may not break binary if this stored function (trigger) may not break binary
logging. Note that if ALL connections to this server logging. Note that if ALL connections to this server
ALWAYS use row-based binary logging, the security issues ALWAYS use row-based binary logging, the security issues
do not exist and the binary logging cannot break, so you do not exist and the binary logging cannot break, so you
can safely set this to TRUE can safely set this to TRUE
--log-error[=name] Error log file --log-error[=name] Error log file
--log-isam[=name] Log all MyISAM changes to file. --log-isam[=name] Log all MyISAM changes to file.
-0, --log-long-format -0, --log-long-format
Log some extra information to update log. Please note Log some extra information to update log. Please note
that this option is deprecated; see --log-short-format that this option is deprecated; see --log-short-format
option. option.
--log-output=name Syntax: log-output=value[,value...], where "value" could --log-output=name Syntax: log-output=value[,value...], where "value" could
be TABLE, FILE or NONE be TABLE, FILE or NONE
--log-queries-not-using-indexes --log-queries-not-using-indexes
Log queries that are executed without benefit of any Log queries that are executed without benefit of any
index to the slow log if it is open index to the slow log if it is open
--log-short-format Don't log extra information to update and slow-query --log-short-format Don't log extra information to update and slow-query
logs. logs.
--log-slave-updates Tells the slave to log the updates from the slave thread --log-slave-updates Tells the slave to log the updates from the slave thread
to the binary log. You will need to turn it on if you to the binary log. You will need to turn it on if you
plan to daisy-chain the slaves plan to daisy-chain the slaves
--log-slow-admin-statements --log-slow-admin-statements
Log slow OPTIMIZE, ANALYZE, ALTER and other Log slow OPTIMIZE, ANALYZE, ALTER and other
administrative statements to the slow log if it is open. administrative statements to the slow log if it is open.
--log-slow-queries[=name] --log-slow-queries[=name]
Log slow queries to a table or log file. Defaults logging Log slow queries to a table or log file. Defaults logging
to table mysql.slow_log or hostname-slow.log if to table mysql.slow_log or hostname-slow.log if
--log-output=file is used. Must be enabled to activate --log-output=file is used. Must be enabled to activate
other slow log options. Deprecated option, use other slow log options. Deprecated option, use
--slow-query-log/--slow-query-log-file instead. --slow-query-log/--slow-query-log-file instead.
--log-slow-slave-statements --log-slow-slave-statements
Log slow statements executed by slave thread to the slow Log slow statements executed by slave thread to the slow
log if it is open. log if it is open.
--log-tc=name Path to transaction coordinator log (used for --log-tc=name Path to transaction coordinator log (used for
transactions that affect more than one storage engine, transactions that affect more than one storage engine,
when binary log is disabled) when binary log is disabled)
--log-tc-size=# Size of transaction coordinator log. --log-tc-size=# Size of transaction coordinator log.
--log-update[=name] The update log is deprecated since version 5.0, is --log-update[=name] The update log is deprecated since version 5.0, is
replaced by the binary log and this option justs turns on replaced by the binary log and this option justs turns on
--log-bin instead. --log-bin instead.
-W, --log-warnings[=#] -W, --log-warnings[=#]
Log some not critical warnings to the log file Log some not critical warnings to the log file
--long-query-time=# Log all queries that have taken more than long_query_time --long-query-time=# Log all queries that have taken more than long_query_time
seconds to execute to file. The argument will be treated seconds to execute to file. The argument will be treated
as a decimal value with microsecond precision as a decimal value with microsecond precision
--low-priority-updates --low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects INSERT/DELETE/UPDATE has lower priority than selects
--lower-case-table-names[=#] --lower-case-table-names[=#]
If set to 1 table names are stored in lowercase on disk If set to 1 table names are stored in lowercase on disk
and table names will be case-insensitive. Should be set and table names will be case-insensitive. Should be set
to 2 if you are using a case insensitive file system to 2 if you are using a case insensitive file system
--master-info-file=name --master-info-file=name
The location and name of the file that remembers the The location and name of the file that remembers the
master and where the I/O replication thread is in the master and where the I/O replication thread is in the
master's binlogs. master's binlogs.
--master-retry-count=# --master-retry-count=#
The number of tries the slave will make to connect to the The number of tries the slave will make to connect to the
master before giving up. master before giving up.
--max-allowed-packet=# --max-allowed-packet=#
Max packet length to send to or receive from the server Max packet length to send to or receive from the server
--max-binlog-cache-size=# --max-binlog-cache-size=#
Can be used to restrict the total size used to cache a Can be used to restrict the total size used to cache a
multi-transaction query multi-transaction query
--max-binlog-dump-events=# --max-binlog-dump-events=#
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--max-binlog-size=# Binary log will be rotated automatically when the size --max-binlog-size=# Binary log will be rotated automatically when the size
exceeds this value. Will also apply to relay logs if exceeds this value. Will also apply to relay logs if
max_relay_log_size is 0 max_relay_log_size is 0
--max-connect-errors=# --max-connect-errors=#
If there is more than this number of interrupted If there is more than this number of interrupted
connections from a host this host will be blocked from connections from a host this host will be blocked from
further connections further connections
--max-connections=# The number of simultaneous clients allowed --max-connections=# The number of simultaneous clients allowed
--max-delayed-threads=# --max-delayed-threads=#
Don't start more than this number of threads to handle Don't start more than this number of threads to handle
INSERT DELAYED statements. If set to zero INSERT DELAYED INSERT DELAYED statements. If set to zero INSERT DELAYED
will be not used will be not used
--max-error-count=# Max number of errors/warnings to store for a statement --max-error-count=# Max number of errors/warnings to store for a statement
--max-heap-table-size=# --max-heap-table-size=#
Don't allow creation of heap tables bigger than this 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=# Joins that are probably going to read more than
max_join_size records return an error max_join_size records return an error
--max-length-for-sort-data=# --max-length-for-sort-data=#
Max number of bytes in sorted records Max number of bytes in sorted records
--max-prepared-stmt-count=# --max-prepared-stmt-count=#
Maximum number of prepared statements in the server Maximum number of prepared statements in the server
--max-relay-log-size=# --max-relay-log-size=#
If non-zero: relay log will be rotated automatically when If non-zero: relay log will be rotated automatically when
the size exceeds this value; if zero: when the size the size exceeds this value; if zero: when the size
exceeds max_binlog_size exceeds max_binlog_size
--max-seeks-for-key=# --max-seeks-for-key=#
Limit assumed max number of seeks when looking up rows Limit assumed max number of seeks when looking up rows
based on a key based on a key
--max-sort-length=# The number of bytes to use when sorting BLOB or TEXT --max-sort-length=# The number of bytes to use when sorting BLOB or TEXT
values (only the first max_sort_length bytes of each values (only the first max_sort_length bytes of each
value are used; the rest are ignored) value are used; the rest are ignored)
--max-sp-recursion-depth[=#] --max-sp-recursion-depth[=#]
Maximum stored procedure recursion depth Maximum stored procedure recursion depth
--max-tmp-tables=# Maximum number of temporary tables a client can keep open --max-tmp-tables=# Maximum number of temporary tables a client can keep open
at a time at a time
--max-user-connections=# --max-user-connections=#
The maximum number of active connections for a single The maximum number of active connections for a single
user (0 = no limit) user (0 = no limit)
--max-write-lock-count=# --max-write-lock-count=#
After this many write locks, allow some read locks to run After this many write locks, allow some read locks to run
in between in between
--memlock Lock mysqld in memory. --memlock Lock mysqld in memory.
--min-examined-row-limit=# --min-examined-row-limit=#
Don't write queries to slow log that examine fewer rows Don't write queries to slow log that examine fewer rows
than that than that
--multi-range-count=# --multi-range-count=#
Number of key ranges to request at once Number of key ranges to request at once
--myisam-block-size=# --myisam-block-size=#
Block size to be used for MyISAM index pages Block size to be used for MyISAM index pages
--myisam-data-pointer-size=# --myisam-data-pointer-size=#
Default pointer size to be used for MyISAM tables Default pointer size to be used for MyISAM tables
--myisam-max-sort-file-size=# --myisam-max-sort-file-size=#
Don't use the fast sort index method to created index if Don't use the fast sort index method to created index if
the temporary file would get bigger than this the temporary file would get bigger than this
--myisam-mmap-size=# --myisam-mmap-size=#
Restricts the total memory used for memory mapping of Restricts the total memory used for memory mapping of
MySQL tables MySQL tables
--myisam-recover-options[=name] --myisam-recover-options[=name]
Syntax: myisam-recover-options[=option[,option...]], Syntax: myisam-recover-options[=option[,option...]],
where option can be DEFAULT, BACKUP, FORCE, QUICK, or OFF where option can be DEFAULT, BACKUP, FORCE, QUICK, or OFF
--myisam-repair-threads=# --myisam-repair-threads=#
If larger than 1, when repairing a MyISAM table all If larger than 1, when repairing a MyISAM table all
indexes will be created in parallel, with one thread per indexes will be created in parallel, with one thread per
index. The value of 1 disables parallel repair index. The value of 1 disables parallel repair
--myisam-sort-buffer-size=# --myisam-sort-buffer-size=#
The buffer that is allocated when sorting the index when The buffer that is allocated when sorting the index when
doing a REPAIR or when creating indexes with CREATE INDEX doing a REPAIR or when creating indexes with CREATE INDEX
or ALTER TABLE or ALTER TABLE
--myisam-stats-method=name --myisam-stats-method=name
Specifies how MyISAM index statistics collection code Specifies how MyISAM index statistics collection code
should treat NULLs. Possible values of name are should treat NULLs. Possible values of name are
NULLS_UNEQUAL (default behavior for 4.1 and later), NULLS_UNEQUAL (default behavior for 4.1 and later),
NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNORED
--myisam-use-mmap Use memory mapping for reading and writing MyISAM tables --myisam-use-mmap Use memory mapping for reading and writing MyISAM tables
--named-pipe Enable the named pipe (NT) --named-pipe Enable the named pipe (NT)
--net-buffer-length=# --net-buffer-length=#
Buffer length for TCP/IP and socket communication Buffer length for TCP/IP and socket communication
--net-read-timeout=# --net-read-timeout=#
Number of seconds to wait for more data from a connection Number of seconds to wait for more data from a connection
before aborting the read before aborting the read
--net-retry-count=# If a read on a communication port is interrupted, retry --net-retry-count=# If a read on a communication port is interrupted, retry
this many times before giving up this many times before giving up
--net-write-timeout=# --net-write-timeout=#
Number of seconds to wait for a block to be written to a Number of seconds to wait for a block to be written to a
connection before aborting the write connection before aborting the write
-n, --new Use very new possible "unsafe" functions -n, --new Use very new possible "unsafe" functions
--old Use compatible behavior --old Use compatible behavior
--old-alter-table Use old, non-optimized alter table --old-alter-table Use old, non-optimized alter table
--old-passwords Use old password encryption method (needed for 4.0 and --old-passwords Use old password encryption method (needed for 4.0 and
older clients) older clients)
--old-style-user-limits --old-style-user-limits
Enable old-style user limits (before 5.0.3 user resources Enable old-style user limits (before 5.0.3 user resources
were counted per each user+host vs. per account) were counted per each user+host vs. per account)
--one-thread (deprecated): Only use one thread (for debugging under --one-thread (deprecated): Only use one thread (for debugging under
Linux). Use thread-handling=no-threads instead Linux). Use thread-handling=no-threads instead
--open-files-limit=# --open-files-limit=#
If this is not 0, then mysqld will use this value to If this is not 0, then mysqld will use this value to
reserve file descriptors to use with setrlimit(). If this reserve file descriptors to use with setrlimit(). If this
value is 0 then mysqld will reserve max_connections*5 or value is 0 then mysqld will reserve max_connections*5 or
max_connections + table_cache*2 (whichever is larger) max_connections + table_cache*2 (whichever is larger)
number of file descriptors number of file descriptors
--optimizer-prune-level=# --optimizer-prune-level=#
Controls the heuristic(s) applied during query Controls the heuristic(s) applied during query
optimization to prune less-promising partial plans from optimization to prune less-promising partial plans from
the optimizer search space. Meaning: 0 - do not apply any the optimizer search space. Meaning: 0 - do not apply any
heuristic, thus perform exhaustive search; 1 - prune heuristic, thus perform exhaustive search; 1 - prune
plans based on number of retrieved rows plans based on number of retrieved rows
--optimizer-search-depth=# --optimizer-search-depth=#
Maximum depth of search performed by the query optimizer. Maximum depth of search performed by the query optimizer.
Values larger than the number of relations in a query Values larger than the number of relations in a query
result in better query plans, but take longer to compile result in better query plans, but take longer to compile
a query. Values smaller than the number of tables in a a query. Values smaller than the number of tables in a
relation result in faster optimization, but may produce relation result in faster optimization, but may produce
very bad query plans. If set to 0, the system will very bad query plans. If set to 0, the system will
automatically pick a reasonable value; if set to 63, the automatically pick a reasonable value; if set to 63, the
optimizer will switch to the original find_best optimizer will switch to the original find_best
search(used for testing/comparison) search(used for testing/comparison)
--optimizer-switch=name --optimizer-switch=name
optimizer_switch=option=val[,option=val...], where option optimizer_switch=option=val[,option=val...], where option
is one of {index_merge, index_merge_union, is one of {index_merge, index_merge_union,
index_merge_sort_union, index_merge_intersection} and val index_merge_sort_union, index_merge_intersection} and val
is one of {on, off, default} is one of {on, off, default}
--pid-file=name Pid file used by safe_mysqld --pid-file=name Pid file used by safe_mysqld
--plugin-dir=name Directory for plugins --plugin-dir=name Directory for plugins
--plugin-load=name Optional semicolon-separated list of plugins to load, --plugin-load=name Optional semicolon-separated list of plugins to load,
where each plugin is identified as name=library, where where each plugin is identified as name=library, where
name is the plugin name and library is the plugin library name is the plugin name and library is the plugin library
in plugin_dir. in plugin_dir.
-P, --port=# Port number to use for connection or 0 to default to, -P, --port=# Port number to use for connection or 0 to default to,
my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default
(3306), whatever comes first (3306), whatever comes first
--port-open-timeout=# --port-open-timeout=#
Maximum time in seconds to wait for the port to become Maximum time in seconds to wait for the port to become
free. (Default: no wait) free. (Default: no wait)
--preload-buffer-size=# --preload-buffer-size=#
The size of the buffer that is allocated when preloading The size of the buffer that is allocated when preloading
indexes indexes
--profiling-history-size=# --profiling-history-size=#
Limit of query profiling memory Limit of query profiling memory
--query-alloc-block-size=# --query-alloc-block-size=#
Allocation block size for query parsing and execution Allocation block size for query parsing and execution
--query-cache-limit=# --query-cache-limit=#
Don't cache results that are bigger than this Don't cache results that are bigger than this
--query-cache-min-res-unit=# --query-cache-min-res-unit=#
The minimum size for blocks allocated by the query cache The minimum size for blocks allocated by the query cache
--query-cache-size=# --query-cache-size=#
The memory allocated to store results from old queries The memory allocated to store results from old queries
--query-cache-type=name --query-cache-type=name
OFF = Don't cache or retrieve results. ON = Cache all OFF = Don't cache or retrieve results. ON = Cache all
results except SELECT SQL_NO_CACHE ... queries. DEMAND = results except SELECT SQL_NO_CACHE ... queries. DEMAND =
Cache only SELECT SQL_CACHE ... queries Cache only SELECT SQL_CACHE ... queries
--query-cache-wlock-invalidate --query-cache-wlock-invalidate
Invalidate queries in query cache on LOCK for write Invalidate queries in query cache on LOCK for write
--query-prealloc-size=# --query-prealloc-size=#
Persistent buffer for query parsing and execution Persistent buffer for query parsing and execution
--range-alloc-block-size=# --range-alloc-block-size=#
Allocation block size for storing ranges during Allocation block size for storing ranges during
optimization optimization
--read-buffer-size=# --read-buffer-size=#
Each thread that does a sequential scan allocates a Each thread that does a sequential scan allocates a
buffer of this size for each table it scans. If you do buffer of this size for each table it scans. If you do
many sequential scans, you may want to increase this many sequential scans, you may want to increase this
value value
--read-only Make all non-temporary tables read-only, with the --read-only Make all non-temporary tables read-only, with the
exception for replication (slave) threads and users with exception for replication (slave) threads and users with
the SUPER privilege the SUPER privilege
--read-rnd-buffer-size=# --read-rnd-buffer-size=#
When reading rows in sorted order after a sort, the rows When reading rows in sorted order after a sort, the rows
are read through this buffer to avoid a disk seeks. If are read through this buffer to avoid a disk seeks. If
not set, then it's set to the value of record_buffer not set, then it's set to the value of record_buffer
--record-buffer=# Deprecated; use --read-buffer-size instead. --record-buffer=# Deprecated; use --read-buffer-size instead.
--relay-log=name The location and name to use for relay logs --relay-log=name The location and name to use for relay logs
--relay-log-index=name --relay-log-index=name
The location and name to use for the file that keeps a The location and name to use for the file that keeps a
list of the last relay logs list of the last relay logs
--relay-log-info-file=name --relay-log-info-file=name
The location and name of the file that remembers where The location and name of the file that remembers where
the SQL replication thread is in the relay logs the SQL replication thread is in the relay logs
--relay-log-purge if disabled - do not purge relay logs. if enabled - purge --relay-log-purge if disabled - do not purge relay logs. if enabled - purge
them as soon as they are no more needed them as soon as they are no more needed
(Defaults to on; use --skip-relay-log-purge to disable.) (Defaults to on; use --skip-relay-log-purge to disable.)
--relay-log-recovery --relay-log-recovery
Enables automatic relay log recovery right after the Enables automatic relay log recovery right after the
database startup, which means that the IO Thread starts database startup, which means that the IO Thread starts
re-fetching from the master right after the last re-fetching from the master right after the last
transaction processed transaction processed
--relay-log-space-limit=# --relay-log-space-limit=#
Maximum space to use for all relay logs Maximum space to use for all relay logs
--replicate-do-db=name --replicate-do-db=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
specified database. To specify more than one database, specified database. To specify more than one database,
use the directive multiple times, once for each database. use the directive multiple times, once for each database.
Note that this will only work if you do not use Note that this will only work if you do not use
cross-database queries such as UPDATE some_db.some_table cross-database queries such as UPDATE some_db.some_table
SET foo='bar' while having selected a different or no SET foo='bar' while having selected a different or no
database. If you need cross database updates to work, database. If you need cross database updates to work,
make sure you have 3.23.28 or later, and use make sure you have 3.23.28 or later, and use
replicate-wild-do-table=db_name.%. replicate-wild-do-table=db_name.%.
--replicate-do-table=name --replicate-do-table=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
specified table. To specify more than one table, use the specified table. To specify more than one table, use the
directive multiple times, once for each table. This will directive multiple times, once for each table. This will
work for cross-database updates, in contrast to work for cross-database updates, in contrast to
replicate-do-db. replicate-do-db.
--replicate-ignore-db=name --replicate-ignore-db=name
Tells the slave thread to not replicate to the specified Tells the slave thread to not replicate to the specified
database. To specify more than one database to ignore, database. To specify more than one database to ignore,
use the directive multiple times, once for each database. use the directive multiple times, once for each database.
This option will not work if you use cross database This option will not work if you use cross database
updates. If you need cross database updates to work, make updates. If you need cross database updates to work, make
sure you have 3.23.28 or later, and use sure you have 3.23.28 or later, and use
replicate-wild-ignore-table=db_name.%. replicate-wild-ignore-table=db_name.%.
--replicate-ignore-table=name --replicate-ignore-table=name
Tells the slave thread to not replicate to the specified Tells the slave thread to not replicate to the specified
table. To specify more than one table to ignore, use the table. To specify more than one table to ignore, use the
directive multiple times, once for each table. This will directive multiple times, once for each table. This will
work for cross-datbase updates, in contrast to work for cross-datbase updates, in contrast to
replicate-ignore-db. replicate-ignore-db.
--replicate-rewrite-db=name --replicate-rewrite-db=name
Updates to a database with a different name than the Updates to a database with a different name than the
original. Example: original. Example:
replicate-rewrite-db=master_db_name->slave_db_name. replicate-rewrite-db=master_db_name->slave_db_name.
--replicate-same-server-id --replicate-same-server-id
In replication, if set to 1, do not skip events having In replication, if set to 1, do not skip events having
our server id. Default value is 0 (to break infinite our server id. Default value is 0 (to break infinite
loops in circular replication). Can't be set to 1 if loops in circular replication). Can't be set to 1 if
--log-slave-updates is used. --log-slave-updates is used.
--replicate-wild-do-table=name --replicate-wild-do-table=name
Tells the slave thread to restrict replication to the Tells the slave thread to restrict replication to the
tables that match the specified wildcard pattern. To tables that match the specified wildcard pattern. To
specify more than one table, use the directive multiple specify more than one table, use the directive multiple
times, once for each table. This will work for times, once for each table. This will work for
cross-database updates. Example: cross-database updates. Example:
replicate-wild-do-table=foo%.bar% will replicate only replicate-wild-do-table=foo%.bar% will replicate only
updates to tables in all databases that start with foo updates to tables in all databases that start with foo
and whose table names start with bar. and whose table names start with bar.
--replicate-wild-ignore-table=name --replicate-wild-ignore-table=name
Tells the slave thread to not replicate to the tables Tells the slave thread to not replicate to the tables
that match the given wildcard pattern. To specify more that match the given wildcard pattern. To specify more
than one table to ignore, use the directive multiple than one table to ignore, use the directive multiple
times, once for each table. This will work for times, once for each table. This will work for
cross-database updates. Example: cross-database updates. Example:
replicate-wild-ignore-table=foo%.bar% will not do updates replicate-wild-ignore-table=foo%.bar% will not do updates
to tables in databases that start with foo and whose to tables in databases that start with foo and whose
table names start with bar. table names start with bar.
--report-host=name Hostname or IP of the slave to be reported to the master --report-host=name Hostname or IP of the slave to be reported to the master
during slave registration. Will appear in the output of during slave registration. Will appear in the output of
SHOW SLAVE HOSTS. Leave unset if you do not want the SHOW SLAVE HOSTS. Leave unset if you do not want the
slave to register itself with the master. Note that it is slave to register itself with the master. Note that it is
not sufficient for the master to simply read the IP of not sufficient for the master to simply read the IP of
the slave off the socket once the slave connects. Due to the slave off the socket once the slave connects. Due to
NAT and other routing issues, that IP may not be valid NAT and other routing issues, that IP may not be valid
for connecting to the slave from the master or other for connecting to the slave from the master or other
hosts hosts
--report-password=name --report-password=name
The account password of the slave to be reported to the The account password of the slave to be reported to the
master during slave registration master during slave registration
--report-port=# Port for connecting to slave reported to the master --report-port=# Port for connecting to slave reported to the master
during slave registration. Set it only if the slave is during slave registration. Set it only if the slave is
listening on a non-default port or if you have a special listening on a non-default port or if you have a special
tunnel from the master or other clients to the slave. If tunnel from the master or other clients to the slave. If
not sure, leave this option unset not sure, leave this option unset
--report-user=name The account user name of the slave to be reported to the --report-user=name The account user name of the slave to be reported to the
master during slave registration master during slave registration
--rpl-recovery-rank=# --rpl-recovery-rank=#
Unused, will be removed Unused, will be removed
--safe-mode Skip some optimize stages (for testing). --safe-mode Skip some optimize stages (for testing).
--safe-show-database --safe-show-database
Deprecated option; use GRANT SHOW DATABASES instead... Deprecated option; use GRANT SHOW DATABASES instead...
--safe-user-create Don't allow new user creation by the user who has no --safe-user-create Don't allow new user creation by the user who has no
write privileges to the mysql.user table. write privileges to the mysql.user table.
--secure-auth Disallow authentication for accounts that have old --secure-auth Disallow authentication for accounts that have old
(pre-4.1) passwords (pre-4.1) passwords
--secure-file-priv=name --secure-file-priv=name
Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to
files within specified directory files within specified directory
--server-id=# Uniquely identifies the server instance in the community --server-id=# Uniquely identifies the server instance in the community
of replication partners of replication partners
-O, --set-variable=name -O, --set-variable=name
Change the value of a variable. Please note that this Change the value of a variable. Please note that this
option is deprecated;you can set variables directly with option is deprecated;you can set variables directly with
--variable-name=value. --variable-name=value.
--shared-memory Enable the shared memory --shared-memory Enable the shared memory
--shared-memory-base-name=name --shared-memory-base-name=name
Base name of shared memory Base name of shared memory
--show-slave-auth-info --show-slave-auth-info
Show user and password in SHOW SLAVE HOSTS on this master Show user and password in SHOW SLAVE HOSTS on this master
--skip-grant-tables Start without grant tables. This gives all users FULL --skip-grant-tables Start without grant tables. This gives all users FULL
ACCESS to all tables! ACCESS to all tables!
--skip-host-cache Don't cache host names. --skip-host-cache Don't cache host names.
--skip-locking Deprecated option, use --skip-external-locking instead. --skip-locking Deprecated option, use --skip-external-locking instead.
--skip-name-resolve Don't resolve hostnames. All hostnames are IP's or --skip-name-resolve Don't resolve hostnames. All hostnames are IP's or
'localhost'. 'localhost'.
--skip-networking Don't allow connection with TCP/IP --skip-networking Don't allow connection with TCP/IP
--skip-new Don't use new, possible wrong routines. --skip-new Don't use new, possible wrong routines.
--skip-show-database --skip-show-database
Don't allow 'SHOW DATABASE' commands Don't allow 'SHOW DATABASE' commands
--skip-slave-start If set, slave is not autostarted. --skip-slave-start If set, slave is not autostarted.
--skip-stack-trace Don't print a stack trace on failure. --skip-stack-trace Don't print a stack trace on failure.
--skip-symlink Don't allow symlinking of tables. Deprecated option. Use --skip-symlink Don't allow symlinking of tables. Deprecated option. Use
--skip-symbolic-links instead. --skip-symbolic-links instead.
--skip-thread-priority --skip-thread-priority
Don't give threads different priorities. This option is Don't give threads different priorities. This option is
deprecated because it has no effect; the implied behavior deprecated because it has no effect; the implied behavior
is already the default. is already the default.
--slave-compressed-protocol --slave-compressed-protocol
Use compression on master/slave protocol Use compression on master/slave protocol
--slave-exec-mode=name --slave-exec-mode=name
Modes for how replication events should be executed. Modes for how replication events should be executed.
Legal values are STRICT (default) and IDEMPOTENT. In Legal values are STRICT (default) and IDEMPOTENT. In
IDEMPOTENT mode, replication will not stop for operations IDEMPOTENT mode, replication will not stop for operations
that are idempotent. In STRICT mode, replication will that are idempotent. In STRICT mode, replication will
stop on any unexpected difference between the master and stop on any unexpected difference between the master and
the slave the slave
--slave-load-tmpdir=name --slave-load-tmpdir=name
The location where the slave should put its temporary The location where the slave should put its temporary
files when replicating a LOAD DATA INFILE command files when replicating a LOAD DATA INFILE command
--slave-net-timeout=# --slave-net-timeout=#
Number of seconds to wait for more data from a Number of seconds to wait for more data from a
master/slave connection before aborting the read master/slave connection before aborting the read
--slave-skip-errors=name --slave-skip-errors=name
Tells the slave thread to continue replication when a Tells the slave thread to continue replication when a
query event returns an error from the provided list query event returns an error from the provided list
--slave-transaction-retries=# --slave-transaction-retries=#
Number of times the slave SQL thread will retry a Number of times the slave SQL thread will retry a
transaction in case it failed with a deadlock or elapsed transaction in case it failed with a deadlock or elapsed
lock wait timeout, before giving up and stopping lock wait timeout, before giving up and stopping
--slow-launch-time=# --slow-launch-time=#
If creating the thread takes longer than this value (in If creating the thread takes longer than this value (in
seconds), the Slow_launch_threads counter will be seconds), the Slow_launch_threads counter will be
incremented incremented
--slow-query-log Log slow queries to a table or log file. Defaults logging --slow-query-log Log slow queries to a table or log file. Defaults logging
to a file hostname-slow.log or a table mysql.slow_log if to a file hostname-slow.log or a table mysql.slow_log if
--log-output=TABLE is used. Must be enabled to activate --log-output=TABLE is used. Must be enabled to activate
other slow log options other slow log options
--slow-query-log-file=name --slow-query-log-file=name
Log slow queries to given log file. Defaults logging to Log slow queries to given log file. Defaults logging to
hostname-slow.log. Must be enabled to activate other slow hostname-slow.log. Must be enabled to activate other slow
log options log options
--socket=name Socket file to use for connection --socket=name Socket file to use for connection
--sort-buffer-size=# --sort-buffer-size=#
Each thread that needs to do a sort allocates a buffer of Each thread that needs to do a sort allocates a buffer of
this size this size
--sporadic-binlog-dump-fail --sporadic-binlog-dump-fail
Option used by mysql-test for debugging and testing of Option used by mysql-test for debugging and testing of
replication. replication.
--sql-bin-update-same --sql-bin-update-same
The update log is deprecated since version 5.0, is The update log is deprecated since version 5.0, is
replaced by the binary log and this option does nothing replaced by the binary log and this option does nothing
anymore. anymore.
--sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual --sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual
for the complete list of valid sql modes for the complete list of valid sql modes
--standalone Dummy option to start as a standalone program (NT). --standalone Dummy option to start as a standalone program (NT).
-s, --symbolic-links -s, --symbolic-links
Enable symbolic link support. Enable symbolic link support.
--sync-binlog=# Synchronously flush binary log to disk after every #th --sync-binlog=# Synchronously flush binary log to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-frm Sync .frm files to disk on creation --sync-frm Sync .frm files to disk on creation
(Defaults to on; use --skip-sync-frm to disable.) (Defaults to on; use --skip-sync-frm to disable.)
--sync-master-info=# --sync-master-info=#
Synchronously flush master info to disk after every #th Synchronously flush master info to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-relay-log=# Synchronously flush relay log to disk after every #th --sync-relay-log=# Synchronously flush relay log to disk after every #th
event. Use 0 (default) to disable synchronous flushing event. Use 0 (default) to disable synchronous flushing
--sync-relay-log-info=# --sync-relay-log-info=#
Synchronously flush relay log info to disk after every Synchronously flush relay log info to disk after every
#th transaction. Use 0 (default) to disable synchronous #th transaction. Use 0 (default) to disable synchronous
flushing flushing
--sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it --sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it
safe-replicable. Since 5.0, SYSDATE() returns a `dynamic' safe-replicable. Since 5.0, SYSDATE() returns a `dynamic'
value different for different invocations, even within value different for different invocations, even within
the same statement. the same statement.
--table-cache=# Deprecated; use --table-open-cache instead. --table-cache=# Deprecated; use --table-open-cache instead.
--table-definition-cache=# --table-definition-cache=#
The number of cached table definitions The number of cached table definitions
--table-lock-wait-timeout=# --table-lock-wait-timeout=#
Timeout in seconds to wait for a table level lock before Timeout in seconds to wait for a table level lock before
returning an error. Used only if the connection has returning an error. Used only if the connection has
active cursors active cursors
--table-open-cache=# --table-open-cache=#
The number of cached open tables The number of cached open tables
--tc-heuristic-recover=name --tc-heuristic-recover=name
Decision to use in heuristic recover process. Possible Decision to use in heuristic recover process. Possible
values are COMMIT or ROLLBACK. values are COMMIT or ROLLBACK.
--thread-cache-size=# --thread-cache-size=#
How many threads we should keep in a cache for reuse How many threads we should keep in a cache for reuse
--thread-handling=name --thread-handling=name
Define threads usage for handling queries, one of Define threads usage for handling queries, one of
one-thread-per-connection, no-threads one-thread-per-connection, no-threads
--thread-stack=# The stack size for each thread --thread-stack=# The stack size for each thread
--time-format=name The TIME format (ignored) --time-format=name The TIME format (ignored)
--timed-mutexes Specify whether to time mutexes (only InnoDB mutexes are --timed-mutexes Specify whether to time mutexes (only InnoDB mutexes are
currently supported) currently supported)
--tmp-table-size=# If an internal in-memory temporary table exceeds this --tmp-table-size=# If an internal in-memory temporary table exceeds this
size, MySQL will automatically convert it to an on-disk size, MySQL will automatically convert it to an on-disk
MyISAM table MyISAM table
-t, --tmpdir=name Path for temporary files. Several paths may be specified, -t, --tmpdir=name Path for temporary files. Several paths may be specified,
separated by a semicolon (;), in this case they are used separated by a semicolon (;), in this case they are used
in a round-robin fashion in a round-robin fashion
--transaction-alloc-block-size=# --transaction-alloc-block-size=#
Allocation block size for transactions to be stored in Allocation block size for transactions to be stored in
binary log binary log
--transaction-isolation=name --transaction-isolation=name
Default transaction isolation level. Default transaction isolation level.
--transaction-prealloc-size=# --transaction-prealloc-size=#
Persistent buffer for transactions to be stored in binary Persistent buffer for transactions to be stored in binary
log log
--updatable-views-with-limit=name --updatable-views-with-limit=name
YES = Don't issue an error message (warning only) if a YES = Don't issue an error message (warning only) if a
VIEW without presence of a key of the underlying table is VIEW without presence of a key of the underlying table is
used in queries with a LIMIT clause for updating. NO = used in queries with a LIMIT clause for updating. NO =
Prohibit update of a VIEW, which does not contain a key Prohibit update of a VIEW, which does not contain a key
of the underlying table and the query uses a LIMIT clause of the underlying table and the query uses a LIMIT clause
(usually get from GUI tools) (usually get from GUI tools)
-s, --use-symbolic-links -s, --use-symbolic-links
Enable symbolic link support. Deprecated option; use Enable symbolic link support. Deprecated option; use
--symbolic-links instead. --symbolic-links instead.
-u, --user=name Run mysqld daemon as user. -u, --user=name Run mysqld daemon as user.
-v, --verbose Used with --help option for detailed help -v, --verbose Used with --help option for detailed help
-V, --version Output version information and exit. -V, --version Output version information and exit.
--wait-timeout=# The number of seconds the server waits for activity on a --wait-timeout=# The number of seconds the server waits for activity on a
connection before closing it connection before closing it
-W, --warnings[=#] Deprecated; use --log-warnings instead. -W, --warnings[=#] Deprecated; use --log-warnings instead.
Variables (--variable-name=value) Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options) abort-slave-event-count 0
--------------------------------- ---------------------------------------- allow-suspicious-udfs FALSE
abort-slave-event-count 0 auto-increment-increment 1
allow-suspicious-udfs FALSE auto-increment-offset 1
auto-increment-increment 1 automatic-sp-privileges TRUE
auto-increment-offset 1 back-log 50
automatic-sp-privileges TRUE big-tables FALSE
back-log 50 bind-address (No default value)
big-tables FALSE binlog-cache-size 32768
bind-address (No default value) binlog-format STATEMENT
binlog-cache-size 32768 binlog-row-event-max-size 1024
binlog-format STATEMENT bulk-insert-buffer-size 8388608
binlog-row-event-max-size 1024 character-set-client-handshake TRUE
bulk-insert-buffer-size 8388608 character-set-filesystem binary
character-set-client-handshake TRUE character-set-server latin1
character-set-filesystem binary character-sets-dir MYSQL_CHARSETSDIR/
character-set-server latin1 chroot (No default value)
character-sets-dir MYSQL_CHARSETSDIR/ collation-server latin1_swedish_ci
chroot (No default value) completion-type NO_CHAIN
collation-server latin1_swedish_ci concurrent-insert AUTO
completion-type NO_CHAIN connect-timeout 10
concurrent-insert AUTO console FALSE
connect-timeout 10 datadir MYSQLTEST_VARDIR/install.db/
console FALSE date-format %Y-%m-%d
datadir MYSQLTEST_VARDIR/install.db/ datetime-format %Y-%m-%d %H:%i:%s
date-format %Y-%m-%d default-character-set latin1
datetime-format %Y-%m-%d %H:%i:%s default-collation latin1_swedish_ci
default-character-set latin1 default-storage-engine MyISAM
default-collation latin1_swedish_ci default-time-zone (No default value)
default-storage-engine MyISAM default-week-format 0
default-time-zone (No default value) delay-key-write ON
default-week-format 0 delayed-insert-limit 100
delay-key-write ON delayed-insert-timeout 300
delayed-insert-limit 100 delayed-queue-size 1000
delayed-insert-timeout 300 disconnect-slave-event-count 0
delayed-queue-size 1000 div-precision-increment 4
disconnect-slave-event-count 0 enable-locking FALSE
div-precision-increment 4 engine-condition-pushdown TRUE
enable-locking FALSE event-scheduler OFF
engine-condition-pushdown TRUE expire-logs-days 0
event-scheduler OFF external-locking FALSE
expire-logs-days 0 flush FALSE
external-locking FALSE flush-time 1800
flush FALSE ft-boolean-syntax + -><()~*:""&|
flush-time 1800 ft-max-word-len 84
ft-boolean-syntax + -><()~*:""&| ft-min-word-len 4
ft-max-word-len 84 ft-query-expansion-limit 20
ft-min-word-len 4 ft-stopword-file (No default value)
ft-query-expansion-limit 20 gdb FALSE
ft-stopword-file (No default value) general-log FALSE
gdb FALSE group-concat-max-len 1024
general-log FALSE help TRUE
group-concat-max-len 1024 ignore-builtin-innodb FALSE
help TRUE init-connect
ignore-builtin-innodb FALSE init-file (No default value)
init-connect init-rpl-role MASTER
init-file (No default value) init-slave
init-rpl-role MASTER interactive-timeout 28800
init-slave join-buffer-size 131072
interactive-timeout 28800 keep-files-on-create FALSE
join-buffer-size 131072 key-buffer-size 8388608
keep-files-on-create FALSE key-cache-age-threshold 300
key-buffer-size 8388608 key-cache-block-size 1024
key-cache-age-threshold 300 key-cache-division-limit 100
key-cache-block-size 1024 language MYSQL_SHAREDIR/
key-cache-division-limit 100 lc-messages en_US
language MYSQL_SHAREDIR/ lc-messages-dir MYSQL_SHAREDIR/
lc-messages en_US lc-time-names en_US
lc-messages-dir MYSQL_SHAREDIR/ local-infile TRUE
lc-time-names en_US log-bin (No default value)
local-infile TRUE log-bin-index (No default value)
log-bin (No default value) log-bin-trust-function-creators FALSE
log-bin-index (No default value) log-error
log-bin-trust-function-creators FALSE log-isam myisam.log
log-error log-output FILE
log-isam myisam.log log-queries-not-using-indexes FALSE
log-output FILE log-short-format FALSE
log-queries-not-using-indexes FALSE log-slave-updates FALSE
log-short-format FALSE log-slow-admin-statements FALSE
log-slave-updates FALSE log-slow-slave-statements FALSE
log-slow-admin-statements FALSE log-tc tc.log
log-slow-slave-statements FALSE log-tc-size 24576
log-tc tc.log log-update (No default value)
log-tc-size 24576 log-warnings 1
log-update (No default value) long-query-time 10
log-warnings 1 low-priority-updates FALSE
long-query-time 10 lower-case-table-names 1
low-priority-updates FALSE master-info-file master.info
lower-case-table-names 1 master-retry-count 86400
master-info-file master.info max-allowed-packet 1048576
master-retry-count 86400 max-binlog-cache-size 18446744073709547520
max-allowed-packet 1048576 max-binlog-dump-events 0
max-binlog-cache-size 18446744073709547520 max-binlog-size 1073741824
max-binlog-dump-events 0 max-connect-errors 10
max-binlog-size 1073741824 max-connections 151
max-connect-errors 10 max-delayed-threads 20
max-connections 151 max-error-count 64
max-delayed-threads 20 max-heap-table-size 16777216
max-error-count 64 max-join-size 18446744073709551615
max-heap-table-size 16777216 max-length-for-sort-data 1024
max-join-size 18446744073709551615 max-prepared-stmt-count 16382
max-length-for-sort-data 1024 max-relay-log-size 0
max-prepared-stmt-count 16382 max-seeks-for-key 18446744073709551615
max-relay-log-size 0 max-sort-length 1024
max-seeks-for-key 18446744073709551615 max-sp-recursion-depth 0
max-sort-length 1024 max-tmp-tables 32
max-sp-recursion-depth 0 max-user-connections 0
max-tmp-tables 32 max-write-lock-count 18446744073709551615
max-user-connections 0 memlock FALSE
max-write-lock-count 18446744073709551615 min-examined-row-limit 0
memlock FALSE multi-range-count 256
min-examined-row-limit 0 myisam-block-size 1024
multi-range-count 256 myisam-data-pointer-size 6
myisam-block-size 1024 myisam-max-sort-file-size 9223372036853727232
myisam-data-pointer-size 6 myisam-mmap-size 18446744073709551615
myisam-max-sort-file-size 9223372036853727232 myisam-recover-options OFF
myisam-mmap-size 18446744073709551615 myisam-repair-threads 1
myisam-recover-options OFF myisam-sort-buffer-size 8388608
myisam-repair-threads 1 myisam-stats-method nulls_unequal
myisam-sort-buffer-size 8388608 myisam-use-mmap FALSE
myisam-stats-method nulls_unequal named-pipe FALSE
myisam-use-mmap FALSE net-buffer-length 16384
named-pipe FALSE net-read-timeout 30
net-buffer-length 16384 net-retry-count 10
net-read-timeout 30 net-write-timeout 60
net-retry-count 10 new FALSE
net-write-timeout 60 old FALSE
new FALSE old-alter-table FALSE
old FALSE old-passwords FALSE
old-alter-table FALSE old-style-user-limits FALSE
old-passwords FALSE optimizer-prune-level 1
old-style-user-limits FALSE optimizer-search-depth 62
optimizer-prune-level 1 optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on
optimizer-search-depth 62 plugin-load (No default value)
optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on port 3306
plugin-load (No default value) port-open-timeout 0
port 3306 preload-buffer-size 32768
port-open-timeout 0 profiling-history-size 15
preload-buffer-size 32768 query-alloc-block-size 8192
profiling-history-size 15 query-cache-limit 1048576
query-alloc-block-size 8192 query-cache-min-res-unit 4096
query-cache-limit 1048576 query-cache-size 0
query-cache-min-res-unit 4096 query-cache-type ON
query-cache-size 0 query-cache-wlock-invalidate FALSE
query-cache-type ON query-prealloc-size 8192
query-cache-wlock-invalidate FALSE range-alloc-block-size 4096
query-prealloc-size 8192 read-buffer-size 131072
range-alloc-block-size 4096 read-only FALSE
read-buffer-size 131072 read-rnd-buffer-size 262144
read-only FALSE record-buffer 131072
read-rnd-buffer-size 262144 relay-log (No default value)
record-buffer 131072 relay-log-index (No default value)
relay-log (No default value) relay-log-info-file relay-log.info
relay-log-index (No default value) relay-log-purge TRUE
relay-log-info-file relay-log.info relay-log-recovery FALSE
relay-log-purge TRUE relay-log-space-limit 0
relay-log-recovery FALSE replicate-same-server-id FALSE
relay-log-space-limit 0 report-host (No default value)
replicate-same-server-id FALSE report-password (No default value)
report-host (No default value) report-port 3306
report-password (No default value) report-user (No default value)
report-port 3306 rpl-recovery-rank 0
report-user (No default value) safe-user-create FALSE
rpl-recovery-rank 0 secure-auth FALSE
safe-user-create FALSE secure-file-priv (No default value)
secure-auth FALSE server-id 0
secure-file-priv (No default value) shared-memory FALSE
server-id 0 shared-memory-base-name MYSQL
shared-memory FALSE show-slave-auth-info FALSE
shared-memory-base-name MYSQL skip-grant-tables TRUE
show-slave-auth-info FALSE skip-networking FALSE
skip-grant-tables TRUE skip-show-database FALSE
skip-networking FALSE skip-slave-start FALSE
skip-show-database FALSE slave-compressed-protocol FALSE
skip-slave-start FALSE slave-exec-mode STRICT
slave-compressed-protocol FALSE slave-load-tmpdir MYSQLTEST_VARDIR/tmp/
slave-exec-mode STRICT slave-net-timeout 3600
slave-load-tmpdir MYSQLTEST_VARDIR/tmp/ slave-skip-errors (No default value)
slave-net-timeout 3600 slave-transaction-retries 10
slave-skip-errors (No default value) slow-launch-time 2
slave-transaction-retries 10 slow-query-log FALSE
slow-launch-time 2 socket MySQL
slow-query-log FALSE sort-buffer-size 2097152
socket MySQL sporadic-binlog-dump-fail FALSE
sort-buffer-size 2097152 sql-mode
sporadic-binlog-dump-fail FALSE symbolic-links FALSE
sql-mode sync-binlog 0
symbolic-links FALSE sync-frm TRUE
sync-binlog 0 sync-master-info 0
sync-frm TRUE sync-relay-log 0
sync-master-info 0 sync-relay-log-info 0
sync-relay-log 0 sysdate-is-now FALSE
sync-relay-log-info 0 table-cache 400
sysdate-is-now FALSE table-definition-cache 400
table-cache 400 table-lock-wait-timeout 50
table-definition-cache 400 table-open-cache 400
table-lock-wait-timeout 50 tc-heuristic-recover COMMIT
table-open-cache 400 thread-cache-size 0
tc-heuristic-recover COMMIT thread-handling one-thread-per-connection
thread-cache-size 0 thread-stack 262144
thread-handling one-thread-per-connection time-format %H:%i:%s
thread-stack 262144 timed-mutexes FALSE
time-format %H:%i:%s tmp-table-size 16777216
timed-mutexes FALSE tmpdir MYSQLTEST_VARDIR/tmp/
tmp-table-size 16777216 transaction-alloc-block-size 8192
tmpdir MYSQLTEST_VARDIR/tmp/ transaction-isolation REPEATABLE-READ
transaction-alloc-block-size 8192 transaction-prealloc-size 4096
transaction-isolation REPEATABLE-READ updatable-views-with-limit YES
transaction-prealloc-size 4096 use-symbolic-links FALSE
updatable-views-with-limit YES verbose TRUE
use-symbolic-links FALSE wait-timeout 28800
verbose TRUE warnings 1
wait-timeout 28800
warnings 1
To see what values a running MySQL server is using, type To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --verbose --help'. 'mysqladmin variables' instead of 'mysqld --verbose --help'.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment