码迷,mamicode.com
首页 > 数据库 > 详细

Chapter 5 MySQL Server Administration_1

时间:2017-09-03 17:11:17      阅读:704      评论:0      收藏:0      [点我收藏+]

标签:5.7   9.4   sign   gen   enable   this   cer   bin   long   

Chapter 5 MySQL Server Administration

Table of Contents

5.1 The MySQL Server

5.1.1 Configuring the Server

5.1.2 Server Configuration Defaults

5.1.3 Server Option and Variable Reference

5.1.4 Server Command Options

5.1.5 Server System Variables

5.1.6 Using System Variables

5.1.7 Server Status Variables

5.1.8 Server SQL Modes

5.1.9 IPv6 Support

5.1.10 Server-Side Help

5.1.11 Server Response to Signals

5.1.12 The Server Shutdown Process

5.2 The MySQL Data Directory

5.3 The mysql System Database

5.4 MySQL Server Logs

5.4.1 Selecting General Query and Slow Query Log Output Destinations

5.4.2 The Error Log

5.4.3 The General Query Log

5.4.4 The Binary Log

5.4.5 The Slow Query Log

5.4.6 The DDL Log

5.4.7 Server Log Maintenance

5.5 MySQL Server Plugins

5.5.1 Installing and Uninstalling Plugins

5.5.2 Obtaining Server Plugin Information

5.5.3 MySQL Enterprise Thread Pool

5.5.4 The Rewriter Query Rewrite Plugin

5.5.5 Version Tokens

5.6 Running Multiple MySQL Instances on One Machine

5.6.1 Setting Up Multiple Data Directories

5.6.2 Running Multiple MySQL Instances on Windows

5.6.3 Running Multiple MySQL Instances on Unix

5.6.4 Using Client Programs in a Multiple-Server Environment

5.7 Tracing mysqld Using DTrace

5.7.1 mysqld DTrace Probe Reference

MySQL Server (mysqld) is the main program that does most of the work in a MySQL installation. This chapter provides an overview of MySQL Server and covers general server administration:

  • Server configuration
  • The data directory, particularly the mysql system database
  • The server log files
  • Management of multiple servers on a single machine

For additional information on administrative topics, see also:

5.1 The MySQL Server

5.1.1 Configuring the Server

5.1.2 Server Configuration Defaults

5.1.3 Server Option and Variable Reference

5.1.4 Server Command Options

5.1.5 Server System Variables

5.1.6 Using System Variables

5.1.7 Server Status Variables

5.1.8 Server SQL Modes

5.1.9 IPv6 Support

5.1.10 Server-Side Help

5.1.11 Server Response to Signals

5.1.12 The Server Shutdown Process

mysqld is the MySQL server. The following discussion covers these MySQL server configuration topics:

  • Startup options that the server supports. You can specify these options on the command line, through configuration files, or both.
  • Server system variables. These variables reflect the current state and values of the startup options, some of which can be modified while the server is running.
  • Server status variables. These variables contain counters and statistics about runtime operation.
  • How to set the server SQL mode. This setting modifies certain aspects of SQL syntax and semantics, for example for compatibility with code from other database systems, or to control the error handling for particular situations.
  • The server shutdown process. There are performance and reliability considerations depending on the type of table (transactional or nontransactional) and whether you use replication.

For listings of MySQL server variables and options that have been added, deprecated, or removed in MySQL 5.7, see Section 1.5, "Server and Status Variables and Options Added, Deprecated, or Removed in MySQL 5.7".

Note

Not all storage engines are supported by all MySQL server binaries and configurations. To find out how to determine which storage engines your MySQL server installation supports, see Section 13.7.5.16, "SHOW ENGINES Syntax".

5.1.1 Configuring the Server

The MySQL server, mysqld, has many command options and system variables that can be set at startup to configure its operation. To determine the command option and system variable values used by the server, execute this command:

shell> mysqld --verbose --help

The command produces a list of all mysqld options and configurable system variables. Its output includes the default option and variable values and looks something like this:

abort-slave-event-count 0

allow-suspicious-udfs FALSE

archive ON

auto-increment-increment 1

auto-increment-offset 1

autocommit TRUE

automatic-sp-privileges TRUE

avoid-temporal-upgrade FALSE

back-log 80

basedir /home/jon/bin/mysql-5.7/

...

tmpdir /tmp

transaction-alloc-block-size 8192

transaction-isolation REPEATABLE-READ

transaction-prealloc-size 4096

transaction-read-only FALSE

transaction-write-set-extraction OFF

updatable-views-with-limit YES

validate-user-plugins TRUE

verbose TRUE

wait-timeout 28800

To see the current system variable values used by the server as it runs, connect to it and execute this statement:

mysql> SHOW VARIABLES;

To see some statistical and status indicators for a running server, execute this statement:

mysql> SHOW STATUS;

System variable and status information also is available using the mysqladmin command:

shell> mysqladmin variables

shell> mysqladmin extended-status

For a full description of all command options, system variables, and status variables, see these sections:

More detailed monitoring information is available from the Performance Schema; see Chapter 25, MySQL Performance Schema.

MySQL uses algorithms that are very scalable, so you can usually run with very little memory. However, normally better performance results from giving MySQL more memory.

When tuning a MySQL server, the two most important variables to configure are key_buffer_size andtable_open_cache. You should first feel confident that you have these set appropriately before trying to change any other variables.

The following examples indicate some typical variable values for different runtime configurations.

If you are performing GROUP BY or ORDER BY operations on tables that are much larger than your available memory, increase the value of read_rnd_buffer_size to speed up the reading of rows following sorting operations.

If you specify an option on the command line for mysqld or mysqld_safe, it remains in effect only for that invocation of the server. To use the option every time the server runs, put it in an option file. See Section 4.2.6, "Using Option Files".

5.1.2 Server Configuration Defaults

The MySQL server has many operating parameters, which you can change at server startup using command-line options or configuration files (option files). It is also possible to change many parameters at runtime. For general instructions on setting parameters at startup or runtime, see Section 5.1.4, "Server Command Options", andSection 5.1.5, "Server System Variables".

Before MySQL 5.7.5, on Unix platforms, mysql_install_db creates a default option file named my.cnf in the base installation directory. This file is created from a template included in the distribution package named my-default.cnf. You can find the template in or under the base installation directory. When started usingmysqld_safe, the server uses my.cnf file by default. If my.cnf already exists, mysql_install_db assumes it to be in use and writes a new file named my-new.cnf instead.

Note

As of MySQL 5.7.18, my-default.cnf is no longer included in or installed by distribution packages.

With one exception, the settings in the default option file are commented and have no effect. The exception is that the file sets the sql_mode system variable to NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES. This setting produces a server configuration that results in errors rather than warnings for bad data in operations that modify transactional tables. See Section 5.1.8, "Server SQL Modes".

On Windows, MySQL Installer interacts with the user and creates a file named my.ini in the base installation directory as the default option file. If you install on Windows from a Zip archive, you can copy the my-default.ini template file in the base installation directory to my.ini and use the latter as the default option file.

Note

As of MySQL 5.7.18, my-default.ini is no longer included in or installed by distribution packages.

Note

On Windows, the .ini or .cnf option file extension might not be displayed.

On any platform, after completing the installation process, you can edit the default option file at any time to modify the parameters used by the server. For example, to use a parameter setting in the file that is commented with a #character at the beginning of the line, remove the #, and modify the parameter value if necessary. To disable a setting, either add a # to the beginning of the line or remove it.

For additional information about option file format and syntax, see Section 4.2.6, "Using Option Files".

5.1.3 Server Option and Variable Reference

The following table provides a list of all the command line options, server and status variables applicable withinmysqld.

The table lists command-line options (Cmd-line), options valid in configuration files (Option file), server system variables (System Var), and status variables (Status var) in one unified list, with notification of where each option/variable is valid. If a server option set on the command line or in an option file differs from the name of the corresponding server system or status variable, the variable name is noted immediately below the corresponding option. For status variables, the scope of the variable is shown (Scope) as either global, session, or both. Please see the corresponding sections for details on setting and using the options and variables. Where appropriate, a direct link to further information on the item as available.

For a version of this table that is specific to NDB Cluster, see Section 21.3.2.5, "NDB Cluster mysqld Option and Variable Reference".

Table 5.1 Option/Variable Summary

Name

Cmd-Line

Option File

System Var

Status Var

Var Scope

Dynamic

abort-slave-event-count

Yes

Yes

  

  

  

  

Aborted_clients

  

  

  

Yes

Global

No

Aborted_connects

  

  

  

Yes

Global

No

allow-suspicious-udfs

Yes

Yes

  

  

  

  

ansi

Yes

Yes

  

  

  

  

audit-log

Yes

Yes

  

  

  

  

audit_log_buffer_size

Yes

Yes

Yes

  

Global

No

audit_log_connection_policy

Yes

Yes

Yes

  

Global

Yes

audit_log_current_session

  

  

Yes

  

Both

No

Audit_log_current_size

  

  

  

Yes

Global

No

Audit_log_event_max_drop_size

  

  

  

Yes

Global

No

Audit_log_events

  

  

  

Yes

Global

No

Audit_log_events_filtered

  

  

  

Yes

Global

No

Audit_log_events_lost

  

  

  

Yes

Global

No

Audit_log_events_written

  

  

  

Yes

Global

No

audit_log_exclude_accounts

Yes

Yes

Yes

  

Global

Yes

audit_log_file

Yes

Yes

Yes

  

Global

No

audit_log_filter_id

  

  

Yes

  

Both

No

audit_log_flush

  

  

Yes

  

Global

Yes

audit_log_format

Yes

Yes

Yes

  

Global

No

audit_log_include_accounts

Yes

Yes

Yes

  

Global

Yes

audit_log_policy

Yes

Yes

Yes

  

Global

No

audit_log_rotate_on_size

Yes

Yes

Yes

  

Global

Yes

audit_log_statement_policy

Yes

Yes

Yes

  

Global

Yes

audit_log_strategy

Yes

Yes

Yes

  

Global

No

Audit_log_total_size

  

  

  

Yes

Global

No

Audit_log_write_waits

  

  

  

Yes

Global

No

authentication_ldap_sasl_auth_method_name

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_bind_base_dn

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_bind_root_dn

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_bind_root_pwd

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_ca_path

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_group_search_attr

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_init_pool_size

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_log_status

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_max_pool_size

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_server_host

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_server_port

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_tls

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_sasl_user_search_attr

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_auth_method_name

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_bind_base_dn

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_bind_root_dn

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_bind_root_pwd

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_ca_path

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_group_search_attr

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_init_pool_size

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_log_status

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_max_pool_size

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_server_host

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_server_port

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_tls

Yes

Yes

Yes

  

Global

Yes

authentication_ldap_simple_user_search_attr

Yes

Yes

Yes

  

Global

Yes

authentication_windows_log_level

Yes

Yes

  

  

  

  

authentication_windows_use_principal_name

Yes

Yes

  

  

  

  

auto_generate_certs

Yes

Yes

Yes

  

Global

No

auto_increment_increment

  

  

Yes

  

Both

Yes

auto_increment_offset

  

  

Yes

  

Both

Yes

autocommit

Yes

Yes

Yes

  

Both

Yes

automatic_sp_privileges

  

  

Yes

  

Global

Yes

avoid_temporal_upgrade

Yes

Yes

Yes

  

Global

Yes

back_log

  

  

Yes

  

Global

No

basedir

Yes

Yes

Yes

  

Global

No

big-tables

Yes

Yes

  

  

Both

Yes

Variablebig_tables

  

  

Yes

  

Both

Yes

bind-address

Yes

Yes

  

  

Global

No

Variablebind_address

  

  

Yes

  

Global

No

Binlog_cache_disk_use

  

  

  

Yes

Global

No

binlog_cache_size

Yes

Yes

Yes

  

Global

Yes

Binlog_cache_use

  

  

  

Yes

Global

No

binlog-checksum

Yes

Yes

  

  

  

  

binlog_checksum

  

  

Yes

  

Global

Yes

binlog_direct_non_transactional_updates

Yes

Yes

Yes

  

Both

Yes

binlog-do-db

Yes

Yes

  

  

  

  

binlog_error_action

Yes

Yes

Yes

  

Both

Yes

binlog-format

Yes

Yes

  

  

Both

Yes

Variablebinlog_format

  

  

Yes

  

Both

Yes

binlog_group_commit_sync_delay

Yes

Yes

Yes

  

Global

Yes

binlog_group_commit_sync_no_delay_count

Yes

Yes

Yes

  

Global

Yes

binlog_gtid_simple_recovery

Yes

Yes

Yes

  

Global

No

binlog-ignore-db

Yes

Yes

  

  

  

  

binlog_max_flush_queue_time

  

  

Yes

  

Global

Yes

binlog_order_commits

  

  

Yes

  

Global

Yes

binlog-row-event-max-size

Yes

Yes

  

  

  

  

binlog_row_image

Yes

Yes

Yes

  

Both

Yes

binlog-rows-query-log-events

Yes

Yes

  

  

  

  

Variablebinlog_rows_query_log_events

  

  

  

  

  

  

binlog_rows_query_log_events

  

  

Yes

  

Both

Yes

Binlog_stmt_cache_disk_use

  

  

  

Yes

Global

No

binlog_stmt_cache_size

Yes

Yes

Yes

  

Global

Yes

Binlog_stmt_cache_use

  

  

  

Yes

Global

No

binlogging_impossible_mode

Yes

Yes

Yes

  

Both

Yes

block_encryption_mode

Yes

Yes

Yes

  

Both

Yes

bootstrap

Yes

Yes

  

  

  

  

bulk_insert_buffer_size

Yes

Yes

Yes

  

Both

Yes

Bytes_received

  

  

  

Yes

Both

No

Bytes_sent

  

  

  

Yes

Both

No

character_set_client

  

  

Yes

  

Both

Yes

character-set-client-handshake

Yes

Yes

  

  

  

  

character_set_connection

  

  

Yes

  

Both

Yes

character_set_database[a]

  

  

Yes

  

Both

Yes

character-set-filesystem

Yes

Yes

  

  

Both

Yes

Variablecharacter_set_filesystem

  

  

Yes

  

Both

Yes

character_set_results

  

  

Yes

  

Both

Yes

character-set-server

Yes

Yes

  

  

Both

Yes

Variablecharacter_set_server

  

  

Yes

  

Both

Yes

character_set_system

  

  

Yes

  

Global

No

character-sets-dir

Yes

Yes

  

  

Global

No

Variablecharacter_sets_dir

  

  

Yes

  

Global

No

check_proxy_users

Yes

Yes

Yes

  

Global

Yes

chroot

Yes

Yes

  

  

  

  

collation_connection

  

  

Yes

  

Both

Yes

collation_database[b]

  

  

Yes

  

Both

Yes

collation-server

Yes

Yes

  

  

Both

Yes

Variablecollation_server

  

  

Yes

  

Both

Yes

Com_admin_commands

  

  

  

Yes

Both

No

Com_alter_db

  

  

  

Yes

Both

No

Com_alter_db_upgrade

  

  

  

Yes

Both

No

Com_alter_event

  

  

  

Yes

Both

No

Com_alter_function

  

  

  

Yes

Both

No

Com_alter_procedure

  

  

  

Yes

Both

No

Com_alter_server

  

  

  

Yes

Both

No

Com_alter_table

  

  

  

Yes

Both

No

Com_alter_tablespace

  

  

  

Yes

Both

No

Com_alter_user

  

  

  

Yes

Both

No

Com_analyze

  

  

  

Yes

Both

No

Com_assign_to_keycache

  

  

  

Yes

Both

No

Com_begin

  

  

  

Yes

Both

No

Com_binlog

  

  

  

Yes

Both

No

Com_call_procedure

  

  

  

Yes

Both

No

Com_change_db

  

  

  

Yes

Both

No

Com_change_master

  

  

  

Yes

Both

No

Com_change_repl_filter

  

  

  

Yes

Both

No

Com_check

  

  

  

Yes

Both

No

Com_checksum

  

  

  

Yes

Both

No

Com_commit

  

  

  

Yes

Both

No

Com_create_db

  

  

  

Yes

Both

No

Com_create_event

  

  

  

Yes

Both

No

Com_create_function

  

  

  

Yes

Both

No

Com_create_index

  

  

  

Yes

Both

No

Com_create_procedure

  

  

  

Yes

Both

No

Com_create_server

  

  

  

Yes

Both

No

Com_create_table

  

  

  

Yes

Both

No

Com_create_trigger

  

  

  

Yes

Both

No

Com_create_udf

  

  

  

Yes

Both

No

Com_create_user

  

  

  

Yes

Both

No

Com_create_view

  

  

  

Yes

Both

No

Com_dealloc_sql

  

  

  

Yes

Both

No

Com_delete

  

  

  

Yes

Both

No

Com_delete_multi

  

  

  

Yes

Both

No

Com_do

  

  

  

Yes

Both

No

Com_drop_db

  

  

  

Yes

Both

No

Com_drop_event

  

  

  

Yes

Both

No

Com_drop_function

  

  

  

Yes

Both

No

Com_drop_index

  

  

  

Yes

Both

No

Com_drop_procedure

  

  

  

Yes

Both

No

Com_drop_server

  

  

  

Yes

Both

No

Com_drop_table

  

  

  

Yes

Both

No

Com_drop_trigger

  

  

  

Yes

Both

No

Com_drop_user

  

  

  

Yes

Both

No

Com_drop_view

  

  

  

Yes

Both

No

Com_empty_query

  

  

  

Yes

Both

No

Com_execute_sql

  

  

  

Yes

Both

No

Com_explain_other

  

  

  

Yes

Both

No

Com_flush

  

  

  

Yes

Both

No

Com_get_diagnostics

  

  

  

Yes

Both

No

Com_grant

  

  

  

Yes

Both

No

Com_group_replication_start

  

  

  

Yes

Global

No

Com_group_replication_stop

  

  

  

Yes

Global

No

Com_ha_close

  

  

  

Yes

Both

No

Com_ha_open

  

  

  

Yes

Both

No

Com_ha_read

  

  

  

Yes

Both

No

Com_help

  

  

  

Yes

Both

No

Com_insert

  

  

  

Yes

Both

No

Com_insert_select

  

  

  

Yes

Both

No

Com_install_plugin

  

  

  

Yes

Both

No

Com_kill

  

  

  

Yes

Both

No

Com_load

  

  

  

Yes

Both

No

Com_lock_tables

  

  

  

Yes

Both

No

Com_optimize

  

  

  

Yes

Both

No

Com_preload_keys

  

  

  

Yes

Both

No

Com_prepare_sql

  

  

  

Yes

Both

No

Com_purge

  

  

  

Yes

Both

No

Com_purge_before_date

  

  

  

Yes

Both

No

Com_release_savepoint

  

  

  

Yes

Both

No

Com_rename_table

  

  

  

Yes

Both

No

Com_rename_user

  

  

  

Yes

Both

No

Com_repair

  

  

  

Yes

Both

No

Com_replace

  

  

  

Yes

Both

No

Com_replace_select

  

  

  

Yes

Both

No

Com_reset

  

  

  

Yes

Both

No

Com_resignal

  

  

  

Yes

Both

No

Com_revoke

  

  

  

Yes

Both

No

Com_revoke_all

  

  

  

Yes

Both

No

Com_rollback

  

  

  

Yes

Both

No

Com_rollback_to_savepoint

  

  

  

Yes

Both

No

Com_savepoint

  

  

  

Yes

Both

No

Com_select

  

  

  

Yes

Both

No

Com_set_option

  

  

  

Yes

Both

No

Com_show_authors

  

  

  

Yes

Both

No

Com_show_binlog_events

  

  

  

Yes

Both

No

Com_show_binlogs

  

  

  

Yes

Both

No

Com_show_charsets

  

  

  

Yes

Both

No

Com_show_collations

  

  

  

Yes

Both

No

Com_show_contributors

  

  

  

Yes

Both

No

Com_show_create_db

  

  

  

Yes

Both

No

Com_show_create_event

  

  

  

Yes

Both

No

Com_show_create_func

  

  

  

Yes

Both

No

Com_show_create_proc

  

  

  

Yes

Both

No

Com_show_create_table

  

  

  

Yes

Both

No

Com_show_create_trigger

  

  

  

Yes

Both

No

Com_show_create_user

  

  

  

Yes

Both

No

Com_show_databases

  

  

  

Yes

Both

No

Com_show_engine_logs

  

  

  

Yes

Both

No

Com_show_engine_mutex

  

  

  

Yes

Both

No

Com_show_engine_status

  

  

  

Yes

Both

No

Com_show_errors

  

  

  

Yes

Both

No

Com_show_events

  

  

  

Yes

Both

No

Com_show_fields

  

  

  

Yes

Both

No

Com_show_function_code

  

  

  

Yes

Both

No

Com_show_function_status

  

  

  

Yes

Both

No

Com_show_grants

  

  

  

Yes

Both

No

Com_show_keys

  

  

  

Yes

Both

No

Com_show_master_status

  

  

  

Yes

Both

No

Com_show_ndb_status

  

  

  

Yes

Both

No

Com_show_new_master

  

  

  

Yes

Both

No

Com_show_open_tables

  

  

  

Yes

Both

No

Com_show_plugins

  

  

  

Yes

Both

No

Com_show_privileges

  

  

  

Yes

Both

No

Com_show_procedure_code

  

  

  

Yes

Both

No

Com_show_procedure_status

  

  

  

Yes

Both

No

Com_show_processlist

  

  

  

Yes

Both

No

Com_show_profile

  

  

  

Yes

Both

No

Com_show_profiles

  

  

  

Yes

Both

No

Com_show_relaylog_events

  

  

  

Yes

Both

No

Com_show_slave_hosts

  

  

  

Yes

Both

No

Com_show_slave_status

  

  

  

Yes

Both

No

Com_show_slave_status_nonblocking

  

  

  

Yes

Both

No

Com_show_status

  

  

  

Yes

Both

No

Com_show_storage_engines

  

  

  

Yes

Both

No

Com_show_table_status

  

  

  

Yes

Both

No

Com_show_tables

  

  

  

Yes

Both

No

Com_show_triggers

  

  

  

Yes

Both

No

Com_show_variables

  

  

  

Yes

Both

No

Com_show_warnings

  

  

  

Yes

Both

No

Com_shutdown

  

  

  

Yes

Both

No

Com_signal

  

  

  

Yes

Both

No

Com_slave_start

  

  

  

Yes

Both

No

Com_slave_stop

  

  

  

Yes

Both

No

Com_stmt_close

  

  

  

Yes

Both

No

Com_stmt_execute

  

  

  

Yes

Both

No

Com_stmt_fetch

  

  

  

Yes

Both

No

Com_stmt_prepare

  

  

  

Yes

Both

No

Com_stmt_reprepare

  

  

  

Yes

Both

No

Com_stmt_reset

  

  

  

Yes

Both

No

Com_stmt_send_long_data

  

  

  

Yes

Both

No

Com_truncate

  

  

  

Yes

Both

No

Com_uninstall_plugin

  

  

  

Yes

Both

No

Com_unlock_tables

  

  

  

Yes

Both

No

Com_update

  

  

  

Yes

Both

No

Com_update_multi

  

  

  

Yes

Both

No

Com_xa_commit

  

  

  

Yes

Both

No

Com_xa_end

  

  

  

Yes

Both

No

Com_xa_prepare

  

  

  

Yes

Both

No

Com_xa_recover

  

  

  

Yes

Both

No

Com_xa_rollback

  

  

  

Yes

Both

No

Com_xa_start

  

  

  

Yes

Both

No

completion_type

Yes

Yes

Yes

  

Both

Yes

Compression

  

  

  

Yes

Session

No

concurrent_insert

Yes

Yes

Yes

  

Global

Yes

connect_timeout

Yes

Yes

Yes

  

Global

Yes

Connection_control_delay_generated

  

  

  

Yes

Global

No

connection_control_failed_connections_threshold

Yes

Yes

Yes

  

Global

Yes

connection_control_max_connection_delay

Yes

Yes

Yes

  

Global

Yes

connection_control_min_connection_delay

Yes

Yes

Yes

  

Global

Yes

Connection_errors_accept

  

  

  

Yes

Global

No

Connection_errors_internal

  

  

  

Yes

Global

No

Connection_errors_max_connections

  

  

  

Yes

Global

No

Connection_errors_peer_addr

  

  

  

Yes

Global

No

Connection_errors_select

  

  

  

Yes

Global

No

Connection_errors_tcpwrap

  

  

  

Yes

Global

No

Connections

  

  

  

Yes

Global

No

console

Yes

Yes

  

  

  

  

core-file

Yes

Yes

  

  

  

  

core_file

  

  

Yes

  

Global

No

Created_tmp_disk_tables

  

  

  

Yes

Both

No

Created_tmp_files

  

  

  

Yes

Global

No

Created_tmp_tables

  

  

  

Yes

Both

No

daemon_memcached_enable_binlog

Yes

Yes

Yes

  

Global

No

daemon_memcached_engine_lib_name

Yes

Yes

Yes

  

Global

No

daemon_memcached_engine_lib_path

Yes

Yes

Yes

  

Global

No

daemon_memcached_option

Yes

Yes

Yes

  

Global

No

daemon_memcached_r_batch_size

Yes

Yes

Yes

  

Global

No

daemon_memcached_w_batch_size

Yes

Yes

Yes

  

Global

No

daemonize

Yes

Yes

  

  

  

  

datadir

Yes

Yes

Yes

  

Global

No

date_format

  

  

Yes

  

Global

No

datetime_format

  

  

Yes

  

Global

No

debug

Yes

Yes

Yes

  

Both

Yes

debug_sync

  

  

Yes

  

Session

Yes

debug-sync-timeout

Yes

Yes

  

  

  

  

default-authentication-plugin

Yes

Yes

  

  

  

  

default_authentication_plugin

Yes

Yes

Yes

  

Global

No

default_password_lifetime

Yes

Yes

Yes

  

Global

Yes

default-storage-engine

Yes

Yes

  

  

Both

Yes

Variabledefault_storage_engine

  

  

Yes

  

Both

Yes

default-time-zone

Yes

Yes

  

  

  

  

default_tmp_storage_engine

Yes

Yes

Yes

  

Both

Yes

default_week_format

Yes

Yes

Yes

  

Both

Yes

defaults-extra-file

Yes

  

  

  

  

  

defaults-file

Yes

  

  

  

  

  

defaults-group-suffix

Yes

  

  

  

  

  

delay-key-write

Yes

Yes

  

  

Global

Yes

Variabledelay_key_write

  

  

Yes

  

Global

Yes

Delayed_errors

  

  

  

Yes

Global

No

delayed_insert_limit

Yes

Yes

Yes

  

Global

Yes

Delayed_insert_threads

  

  

  

Yes

Global

No

delayed_insert_timeout

Yes

Yes

Yes

  

Global

Yes

delayed_queue_size

Yes

Yes

Yes

  

Global

Yes

Delayed_writes

  

  

  

Yes

Global

No

des-key-file

Yes

Yes

  

  

  

  

disable-partition-engine-check

Yes

Yes

  

  

  

  

disabled_storage_engines

Yes

Yes

Yes

  

Global

No

disconnect_on_expired_password

Yes

Yes

Yes

  

Session

No

disconnect-slave-event-count

Yes

Yes

  

  

  

  

div_precision_increment

Yes

Yes

Yes

  

Both

Yes

early-plugin-load

Yes

Yes

  

  

  

  

enable-named-pipe

Yes

Yes

  

  

  

  

Variablenamed_pipe

  

  

  

  

  

  

end_markers_in_json

  

  

Yes

  

Both

Yes

enforce-gtid-consistency

Yes

Yes

Yes

  

Global

Varies

enforce_gtid_consistency

Yes

Yes

Yes

  

Global

Varies

eq_range_index_dive_limit

  

  

Yes

  

Both

Yes

error_count

  

  

Yes

  

Session

No

event-scheduler

Yes

Yes

  

  

Global

Yes

Variableevent_scheduler

  

  

Yes

  

Global

Yes

executed-gtids-compression-period

Yes

Yes

  

  

  

  

Variableexecuted_gtids_compression_period

  

  

  

  

  

  

executed_gtids_compression_period

  

  

Yes

  

Global

Yes

exit-info

Yes

Yes

  

  

  

  

expire_logs_days

Yes

Yes

Yes

  

Global

Yes

explicit_defaults_for_timestamp

Yes

Yes

Yes

  

Both

Yes

external-locking

Yes

Yes

  

  

  

  

Variableskip_external_locking

  

  

  

  

  

  

external_user

  

  

Yes

  

Session

No

federated

Yes

Yes

  

  

  

  

Firewall_access_denied

  

  

  

Yes

Global

No

Firewall_access_granted

  

  

  

Yes

Global

No

Firewall_cached_entries

  

  

  

Yes

Global

No

flush

Yes

Yes

Yes

  

Global

Yes

Flush_commands

  

  

  

Yes

Global

No

flush_time

Yes

Yes

Yes

  

Global

Yes

foreign_key_checks

  

  

Yes

  

Both

Yes

ft_boolean_syntax

Yes

Yes

Yes

  

Global

Yes

ft_max_word_len

Yes

Yes

Yes

  

Global

No

ft_min_word_len

Yes

Yes

Yes

  

Global

No

ft_query_expansion_limit

Yes

Yes

Yes

  

Global

No

ft_stopword_file

Yes

Yes

Yes

  

Global

No

gdb

Yes

Yes

  

  

  

  

general-log

Yes

Yes

  

  

Global

Yes

Variablegeneral_log

  

  

Yes

  

Global

Yes

general_log_file

Yes

Yes

Yes

  

Global

Yes

group_concat_max_len

Yes

Yes

Yes

  

Both

Yes

group_replication_allow_local_disjoint_gtids_join

Yes

Yes

Yes

  

Global

Yes

group_replication_allow_local_lower_version_join

Yes

Yes

Yes

  

Global

Yes

group_replication_auto_increment_increment

Yes

Yes

Yes

  

Global

Yes

group_replication_bootstrap_group

Yes

Yes

Yes

  

Global

Yes

group_replication_components_stop_timeout

Yes

Yes

Yes

  

Global

Yes

group_replication_compression_threshold

Yes

Yes

Yes

  

Global

Yes

group_replication_enforce_update_everywhere_checks

Yes

Yes

Yes

  

Global

Yes

group_replication_flow_control_applier_threshold

Yes

Yes

Yes

  

Global

Yes

group_replication_flow_control_certifier_threshold

Yes

Yes

Yes

  

Global

Yes

group_replication_flow_control_mode

Yes

Yes

Yes

  

Global

Yes

group_replication_force_members

Yes

Yes

Yes

  

Global

Yes

group_replication_group_name

Yes

Yes

Yes

  

Global

Yes

group_replication_group_seeds

Yes

Yes

Yes

  

Global

Yes

group_replication_gtid_assignment_block_size

Yes

Yes

Yes

  

Global

Yes

group_replication_ip_whitelist

Yes

Yes

Yes

  

Global

Yes

group_replication_local_address

Yes

Yes

Yes

  

Global

Yes

group_replication_poll_spin_loops

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_complete_at

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_reconnect_interval

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_retry_count

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_ca

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_capath

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_cert

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_cipher

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_crl

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_crlpath

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_key

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_ssl_verify_server_cert

Yes

Yes

Yes

  

Global

Yes

group_replication_recovery_use_ssl

Yes

Yes

Yes

  

Global

Yes

group_replication_single_primary_mode

Yes

Yes

Yes

  

Global

Yes

group_replication_ssl_mode

Yes

Yes

Yes

  

Global

Yes

group_replication_start_on_boot

Yes

Yes

Yes

  

Global

Yes

group_replication_transaction_size_limit

Yes

Yes

Yes

  

Global

Yes

group_replication_unreachable_majority_timeout

Yes

Yes

Yes

  

Global

Yes

gtid_executed

  

  

Yes

  

Varies

No

gtid-executed-compression-period

Yes

Yes

  

  

  

  

Variablegtid_executed_compression_period

  

  

  

  

  

  

gtid_executed_compression_period

  

  

Yes

  

Global

Yes

gtid-mode

Yes

Yes

  

  

Global

Varies

Variablegtid_mode

  

  

Yes

  

Global

Varies

gtid_mode

  

  

Yes

  

Global

Varies

gtid_next

  

  

Yes

  

Session

Yes

gtid_owned

  

  

Yes

  

Both

No

gtid_purged

  

  

Yes

  

Global

Yes

Handler_commit

  

  

  

Yes

Both

No

Handler_delete

  

  

  

Yes

Both

No

Handler_discover

  

  

  

Yes

Both

No

Handler_external_lock

  

  

  

Yes

Both

No

Handler_mrr_init

  

  

  

Yes

Both

No

Handler_prepare

  

  

  

Yes

Both

No

Handler_read_first

  

  

  

Yes

Both

No

Handler_read_key

  

  

  

Yes

Both

No

Handler_read_last

  

  

  

Yes

Both

No

Handler_read_next

  

  

  

Yes

Both

No

Handler_read_prev

  

  

  

Yes

Both

No

Handler_read_rnd

  

  

  

Yes

Both

No

Handler_read_rnd_next

  

  

  

Yes

Both

No

Handler_rollback

  

  

  

Yes

Both

No

Handler_savepoint

  

  

  

Yes

Both

No

Handler_savepoint_rollback

  

  

  

Yes

Both

No

Handler_update

  

  

  

Yes

Both

No

Handler_write

  

  

  

Yes

Both

No

have_compress

  

  

Yes

  

Global

No

have_crypt

  

  

Yes

  

Global

No

have_dynamic_loading

  

  

Yes

  

Global

No

have_geometry

  

  

Yes

  

Global

No

have_openssl

  

  

Yes

  

Global

No

have_profiling

  

  

Yes

  

Global

No

have_query_cache

  

  

Yes

  

Global

No

have_rtree_keys

  

  

Yes

  

Global

No

have_ssl

  

  

Yes

  

Global

No

have_statement_timeout

  

  

Yes

  

Global

No

have_symlink

  

  

Yes

  

Global

No

help

Yes

Yes

  

  

  

  

host_cache_size

  

  

Yes

  

Global

Yes

hostname

  

  

Yes

  

Global

No

identity

  

  

Yes

  

Session

Yes

ignore-builtin-innodb

Yes

Yes

  

  

Global

No

Variableignore_builtin_innodb

  

  

Yes

  

Global

No

ignore-db-dir

Yes

Yes

  

  

  

  

ignore_db_dirs

  

  

Yes

  

Global

No

init_connect

Yes

Yes

Yes

  

Global

Yes

init-file

Yes

Yes

  

  

Global

No

Variableinit_file

  

  

Yes

  

Global

No

init_slave

Yes

Yes

Yes

  

Global

Yes

initialize

Yes

Yes

  

  

  

  

initialize-insecure

Yes

Yes

  

  

  

  

innodb

Yes

Yes

  

  

  

  

innodb_adaptive_flushing

Yes

Yes

Yes

  

Global

Yes

innodb_adaptive_flushing_lwm

Yes

Yes

Yes

  

Global

Yes

innodb_adaptive_hash_index

Yes

Yes

Yes

  

Global

Yes

innodb_adaptive_hash_index_parts

Yes

Yes

Yes

  

Global

No

innodb_adaptive_max_sleep_delay

Yes

Yes

Yes

  

Global

Yes

innodb_additional_mem_pool_size

Yes

Yes

Yes

  

Global

No

innodb_api_bk_commit_interval

Yes

Yes

Yes

  

Global

Yes

innodb_api_disable_rowlock

Yes

Yes

Yes

  

Global

No

innodb_api_enable_binlog

Yes

Yes

Yes

  

Global

No

innodb_api_enable_mdl

Yes

Yes

Yes

  

Global

No

innodb_api_trx_level

Yes

Yes

Yes

  

Global

Yes

innodb_autoextend_increment

Yes

Yes

Yes

  

Global

Yes

innodb_autoinc_lock_mode

Yes

Yes

Yes

  

Global

No

Innodb_available_undo_logs

  

  

  

Yes

Global

No

innodb_background_drop_list_empty

Yes

Yes

Yes

  

Global

Yes

Innodb_buffer_pool_bytes_data

  

  

  

Yes

Global

No

Innodb_buffer_pool_bytes_dirty

  

  

  

Yes

Global

No

innodb_buffer_pool_chunk_size

Yes

Yes

Yes

  

Global

No

innodb_buffer_pool_dump_at_shutdown

Yes

Yes

Yes

  

Global

Yes

innodb_buffer_pool_dump_now

Yes

Yes

Yes

  

Global

Yes

innodb_buffer_pool_dump_pct

Yes

Yes

Yes

  

Global

Yes

Innodb_buffer_pool_dump_status

  

  

  

Yes

Global

No

innodb_buffer_pool_filename

Yes

Yes

Yes

  

Global

Yes

innodb_buffer_pool_instances

Yes

Yes

Yes

  

Global

No

innodb_buffer_pool_load_abort

Yes

Yes

Yes

  

Global

Yes

innodb_buffer_pool_load_at_startup

Yes

Yes

Yes

  

Global

No

innodb_buffer_pool_load_now

Yes

Yes

Yes

  

Global

Yes

Innodb_buffer_pool_load_status

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_data

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_dirty

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_flushed

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_free

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_latched

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_misc

  

  

  

Yes

Global

No

Innodb_buffer_pool_pages_total

  

  

  

Yes

Global

No

Innodb_buffer_pool_read_ahead

  

  

  

Yes

Global

No

Innodb_buffer_pool_read_ahead_evicted

  

  

  

Yes

Global

No

Innodb_buffer_pool_read_ahead_rnd

  

  

  

Yes

Global

No

Innodb_buffer_pool_read_requests

  

  

  

Yes

Global

No

Innodb_buffer_pool_reads

  

  

  

Yes

Global

No

Innodb_buffer_pool_resize_status

  

  

  

Yes

Global

No

innodb_buffer_pool_size

Yes

Yes

Yes

  

Global

Varies

Innodb_buffer_pool_wait_free

  

  

  

Yes

Global

No

Innodb_buffer_pool_write_requests

  

  

  

Yes

Global

No

innodb_change_buffer_max_size

Yes

Yes

Yes

  

Global

Yes

innodb_change_buffering

Yes

Yes

Yes

  

Global

Yes

innodb_change_buffering_debug

Yes

Yes

Yes

  

Global

Yes

innodb_checksum_algorithm

Yes

Yes

Yes

  

Global

Yes

innodb_checksums

Yes

Yes

Yes

  

Global

No

innodb_cmp_per_index_enabled

Yes

Yes

Yes

  

Global

Yes

innodb_commit_concurrency

Yes

Yes

Yes

  

Global

Yes

innodb_compress_debug

Yes

Yes

Yes

  

Global

Yes

innodb_compression_failure_threshold_pct

Yes

Yes

Yes

  

Global

Yes

innodb_compression_level

Yes

Yes

Yes

  

Global

Yes

innodb_compression_pad_pct_max

Yes

Yes

Yes

  

Global

Yes

innodb_concurrency_tickets

Yes

Yes

Yes

  

Global

Yes

innodb_create_intrinsic

Yes

Yes

Yes

  

Session

Yes

innodb_data_file_path

Yes

Yes

Yes

  

Global

No

Innodb_data_fsyncs

  

  

  

Yes

Global

No

innodb_data_home_dir

Yes

Yes

Yes

  

Global

No

Innodb_data_pending_fsyncs

  

  

  

Yes

Global

No

Innodb_data_pending_reads

  

  

  

Yes

Global

No

Innodb_data_pending_writes

  

  

  

Yes

Global

No

Innodb_data_read

  

  

  

Yes

Global

No

Innodb_data_reads

  

  

  

Yes

Global

No

Innodb_data_writes

  

  

  

Yes

Global

No

Innodb_data_written

  

  

  

Yes

Global

No

Innodb_dblwr_pages_written

  

  

  

Yes

Global

No

Innodb_dblwr_writes

  

  

  

Yes

Global

No

innodb_deadlock_detect

Yes

Yes

Yes

  

Global

Yes

innodb_default_row_format

Yes

Yes

Yes

  

Global

Yes

innodb_disable_resize_buffer_pool_debug

Yes

Yes

Yes

  

Global

Yes

innodb_disable_sort_file_cache

Yes

Yes

Yes

  

Global

Yes

innodb_doublewrite

Yes

Yes

Yes

  

Global

No

innodb_fast_shutdown

Yes

Yes

Yes

  

Global

Yes

innodb_fil_make_page_dirty_debug

Yes

Yes

Yes

  

Global

Yes

innodb_file_format

Yes

Yes

Yes

  

Global

Yes

innodb_file_format_check

Yes

Yes

Yes

  

Global

No

innodb_file_format_max

Yes

Yes

Yes

  

Global

Yes

innodb_file_per_table

Yes

Yes

Yes

  

Global

Yes

innodb_fill_factor

Yes

Yes

Yes

  

Global

Yes

innodb_flush_log_at_timeout

  

  

Yes

  

Global

Yes

innodb_flush_log_at_trx_commit

Yes

Yes

Yes

  

Global

Yes

innodb_flush_method

Yes

Yes

Yes

  

Global

No

innodb_flush_neighbors

Yes

Yes

Yes

  

Global

Yes

innodb_flush_sync

Yes

Yes

Yes

  

Global

Yes

innodb_flushing_avg_loops

Yes

Yes

Yes

  

Global

Yes

innodb_force_load_corrupted

Yes

Yes

Yes

  

Global

No

innodb_force_recovery

Yes

Yes

Yes

  

Global

No

innodb_ft_aux_table

Yes

Yes

Yes

  

Global

Yes

innodb_ft_cache_size

Yes

Yes

Yes

  

Global

No

innodb_ft_enable_diag_print

Yes

Yes

Yes

  

Global

Yes

innodb_ft_enable_stopword

Yes

Yes

Yes

  

Global

Yes

innodb_ft_max_token_size

Yes

Yes

Yes

  

Global

No

innodb_ft_min_token_size

Yes

Yes

Yes

  

Global

No

innodb_ft_num_word_optimize

Yes

Yes

Yes

  

Global

Yes

innodb_ft_result_cache_limit

Yes

Yes

Yes

  

Global

Yes

innodb_ft_server_stopword_table

Yes

Yes

Yes

  

Global

Yes

innodb_ft_sort_pll_degree

Yes

Yes

Yes

  

Global

No

innodb_ft_total_cache_size

Yes

Yes

Yes

  

Global

No

innodb_ft_user_stopword_table

Yes

Yes

Yes

  

Both

Yes

Innodb_have_atomic_builtins

  

  

  

Yes

Global

No

innodb_io_capacity

Yes

Yes

Yes

  

Global

Yes

innodb_io_capacity_max

Yes

Yes

Yes

  

Global

Yes

innodb_large_prefix

Yes

Yes

Yes

  

Global

Yes

innodb_limit_optimistic_insert_debug

Yes

Yes

Yes

  

Global

Yes

innodb_lock_wait_timeout

Yes

Yes

Yes

  

Both

Yes

innodb_locks_unsafe_for_binlog

Yes

Yes

Yes

  

Global

No

innodb_log_buffer_size

Yes

Yes

Yes

  

Global

No

innodb_log_checksum_algorithm

Yes

Yes

Yes

  

Global

Yes

innodb_log_checksums

Yes

Yes

Yes

  

Global

Yes

innodb_log_compressed_pages

Yes

Yes

Yes

  

Global

Yes

innodb_log_file_size

Yes

Yes

Yes

  

Global

No

innodb_log_files_in_group

Yes

Yes

Yes

  

Global

No

innodb_log_group_home_dir

Yes

Yes

Yes

  

Global

No

Innodb_log_waits

  

  

  

Yes

Global

No

innodb_log_write_ahead_size

Yes

Yes

Yes

  

Global

Yes

Innodb_log_write_requests

  

  

  

Yes

Global

No

Innodb_log_writes

  

  

  

Yes

Global

No

innodb_lru_scan_depth

Yes

Yes

Yes

  

Global

Yes

innodb_max_dirty_pages_pct

Yes

Yes

Yes

  

Global

Yes

innodb_max_dirty_pages_pct_lwm

Yes

Yes

Yes

  

Global

Yes

innodb_max_purge_lag

Yes

Yes

Yes

  

Global

Yes

innodb_max_purge_lag_delay

Yes

Yes

Yes

  

Global

Yes

innodb_max_undo_log_size

Yes

Yes

Yes

  

Global

Yes

innodb_merge_threshold_set_all_debug

Yes

Yes

Yes

  

Global

Yes

innodb_monitor_disable

Yes

Yes

Yes

  

Global

Yes

innodb_monitor_enable

Yes

Yes

Yes

  

Global

Yes

innodb_monitor_reset

Yes

Yes

Yes

  

Global

Yes

innodb_monitor_reset_all

Yes

Yes

Yes

  

Global

Yes

Innodb_num_open_files

  

  

  

Yes

Global

No

innodb_numa_interleave

Yes

Yes

Yes

  

Global

No

innodb_old_blocks_pct

Yes

Yes

Yes

  

Global

Yes

innodb_old_blocks_time

Yes

Yes

Yes

  

Global

Yes

innodb_online_alter_log_max_size

Yes

Yes

Yes

  

Global

Yes

innodb_open_files

Yes

Yes

Yes

  

Global

No

innodb_optimize_fulltext_only

Yes

Yes

Yes

  

Global

Yes

innodb_optimize_point_storage

Yes

Yes

Yes

  

Session

Yes

Innodb_os_log_fsyncs

  

  

  

Yes

Global

No

Innodb_os_log_pending_fsyncs

  

  

  

Yes

Global

No

Innodb_os_log_pending_writes

  

  

  

Yes

Global

No

Innodb_os_log_written

  

  

  

Yes

Global

No

innodb_page_cleaners

Yes

Yes

Yes

  

Global

No

Innodb_page_size

  

  

  

Yes

Global

No

innodb_page_size

Yes

Yes

Yes

  

Global

No

Innodb_pages_created

  

  

  

Yes

Global

No

Innodb_pages_read

  

  

  

Yes

Global

No

Innodb_pages_written

  

  

  

Yes

Global

No

innodb_print_all_deadlocks

Yes

Yes

Yes

  

Global

Yes

innodb_purge_batch_size

Yes

Yes

Yes

  

Global

Yes

innodb_purge_rseg_truncate_frequency

Yes

Yes

Yes

  

Global

Yes

innodb_purge_threads

Yes

Yes

Yes

  

Global

No

innodb_random_read_ahead

Yes

Yes

Yes

  

Global

Yes

innodb_read_ahead_threshold

Yes

Yes

Yes

  

Global

Yes

innodb_read_io_threads

Yes

Yes

Yes

  

Global

No

innodb_read_only

Yes

Yes

Yes

  

Global

No

innodb_replication_delay

Yes

Yes

Yes

  

Global

Yes

innodb_rollback_on_timeout

Yes

Yes

Yes

  

Global

No

innodb_rollback_segments

Yes

Yes

Yes

  

Global

Yes

Innodb_row_lock_current_waits

  

  

  

Yes

Global

No

Innodb_row_lock_time

  

  

  

Yes

Global

No

Innodb_row_lock_time_avg

  

  

  

Yes

Global

No

Innodb_row_lock_time_max

  

  

  

Yes

Global

No

Innodb_row_lock_waits

  

  

  

Yes

Global

No

Innodb_rows_deleted

  

  

  

Yes

Global

No

Innodb_rows_inserted

  

  

  

Yes

Global

No

Innodb_rows_read

  

  

  

Yes

Global

No

Innodb_rows_updated

  

  

  

Yes

Global

No

innodb_saved_page_number_debug

Yes

Yes

Yes

  

Global

Yes

innodb_sort_buffer_size

Yes

Yes

Yes

  

Global

No

innodb_spin_wait_delay

Yes

Yes

Yes

  

Global

Yes

innodb_stats_auto_recalc

Yes

Yes

Yes

  

Global

Yes

innodb_stats_include_delete_marked

Yes

Yes

Yes

  

Global

Yes

innodb_stats_method

Yes

Yes

Yes

  

Global

Yes

innodb_stats_on_metadata

Yes

Yes

Yes

  

Global

Yes

innodb_stats_persistent

Yes

Yes

Yes

  

Global

Yes

innodb_stats_persistent_sample_pages

Yes

Yes

Yes

  

Global

Yes

innodb_stats_sample_pages

Yes

Yes

Yes

  

Global

Yes

innodb_stats_transient_sample_pages

Yes

Yes

Yes

  

Global

Yes

innodb-status-file

Yes

Yes

  

  

  

  

innodb_status_output

Yes

Yes

Yes

  

Global

Yes

innodb_status_output_locks

Yes

Yes

Yes

  

Global

Yes

innodb_strict_mode

Yes

Yes

Yes

  

Both

Yes

innodb_support_xa

Yes

Yes

Yes

  

Both

Yes

innodb_sync_array_size

Yes

Yes

Yes

  

Global

No

innodb_sync_debug

Yes

Yes

Yes

  

Global

No

innodb_sync_spin_loops

Yes

Yes

Yes

  

Global

Yes

innodb_table_locks

Yes

Yes

Yes

  

Both

Yes

innodb_temp_data_file_path

Yes

Yes

Yes

  

Global

No

innodb_thread_concurrency

Yes

Yes

Yes

  

Global

Yes

innodb_thread_sleep_delay

Yes

Yes

Yes

  

Global

Yes

innodb_tmpdir

Yes

Yes

Yes

  

Both

Yes

Innodb_truncated_status_writes

  

  

  

Yes

Global

No

innodb_trx_purge_view_update_only_debug

Yes

Yes

Yes

  

Global

Yes

innodb_trx_rseg_n_slots_debug

Yes

Yes

Yes

  

Global

Yes

innodb_undo_directory

Yes

Yes

Yes

  

Global

No

innodb_undo_log_truncate

Yes

Yes

Yes

  

Global

Yes

innodb_undo_logs

Yes

Yes

Yes

  

Global

Yes

innodb_undo_tablespaces

Yes

Yes

Yes

  

Global

No

innodb_use_native_aio

Yes

Yes

Yes

  

Global

No

innodb_use_sys_malloc

Yes

Yes

Yes

  

Global

No

innodb_version

  

  

Yes

  

Global

No

innodb_write_io_threads

Yes

Yes

Yes

  

Global

No

insert_id

  

  

Yes

  

Session

Yes

install

Yes

  

  

  

  

  

install-manual

Yes

  

  

  

  

  

interactive_timeout

Yes

Yes

Yes

  

Both

Yes

internal_tmp_disk_storage_engine

Yes

Yes

Yes

  

Global

Yes

join_buffer_size

Yes

Yes

Yes

  

Both

Yes

keep_files_on_create

Yes

Yes

Yes

  

Both

Yes

Key_blocks_not_flushed

  

  

  

Yes

Global

No

Key_blocks_unused

  

  

  

Yes

Global

No

Key_blocks_used

  

  

  

Yes

Global

No

key_buffer_size

Yes

Yes

Yes

  

Global

Yes

key_cache_age_threshold

Yes

Yes

Yes

  

Global

Yes

key_cache_block_size

Yes

Yes

Yes

  

Global

Yes

key_cache_division_limit

Yes

Yes

Yes

  

Global

Yes

Key_read_requests

  

  

  

Yes

Global

No

Key_reads

  

  

  

Yes

Global

No

Key_write_requests

  

  

  

Yes

Global

No

Key_writes

  

  

  

Yes

Global

No

keyring_aws_cmk_id

Yes

Yes

Yes

  

Global

Yes

keyring_aws_conf_file

Yes

Yes

Yes

  

Global

No

keyring_aws_data_file

Yes

Yes

Yes

  

Global

No

keyring_file_data

Yes

Yes

Yes

  

Global

Yes

keyring_okv_conf_dir

Yes

Yes

Yes

  

Global

Yes

language

Yes

Yes

Yes

  

Global

No

large_files_support

  

  

Yes

  

Global

No

large_page_size

  

  

Yes

  

Global

No

large-pages

Yes

Yes

  

  

Global

No

Variablelarge_pages

  

  

Yes

  

Global

No

last_insert_id

  

  

Yes

  

Session

Yes

Last_query_cost

  

  

  

Yes

Session

No

Last_query_partial_plans

  

  

  

Yes

Session

No

lc-messages

Yes

Yes

  

  

Both

Yes

Variablelc_messages

  

  

Yes

  

Both

Yes

lc-messages-dir

Yes

Yes

  

  

Global

No

Variablelc_messages_dir

  

  

Yes

  

Global

No

lc_time_names

  

  

Yes

  

Both

Yes

license

  

  

Yes

  

Global

No

local_infile

  

  

Yes

  

Global

Yes

local-service

Yes

  

  

  

  

  

lock_wait_timeout

Yes

Yes

Yes

  

Both

Yes

Locked_connects

  

  

  

Yes

Global

No

locked_in_memory

  

  

Yes

  

Global

No

log_backward_compatible_user_definitions

Yes

Yes

Yes

  

Global

Yes

log-bin

Yes

Yes

Yes

  

Global

No

log_bin

  

  

Yes

  

Global

No

log_bin_basename

  

  

Yes

  

Global

No

log-bin-index

Yes

Yes

  

  

  

  

log_bin_index

  

  

Yes

  

Global

No

log-bin-trust-function-creators

Yes

Yes

  

  

Global

Yes

Variablelog_bin_trust_function_creators

  

  

Yes

  

Global

Yes

log-bin-use-v1-row-events

Yes

Yes

  

  

Global

No

Variablelog_bin_use_v1_row_events

  

  

Yes

  

Global

No

log_bin_use_v1_row_events

Yes

Yes

Yes

  

Global

No

log_builtin_as_identified_by_password

Yes

Yes

Yes

  

Global

Yes

log-error

Yes

Yes

  

  

Global

No

Variablelog_error

  

  

Yes

  

Global

No

log_error_verbosity

Yes

Yes

Yes

  

Global

Yes

log-isam

Yes

Yes

  

  

  

  

log-output

Yes

Yes

  

  

Global

Yes

Variablelog_output

  

  

Yes

  

Global

Yes

log-queries-not-using-indexes

Yes

Yes

  

  

Global

Yes

Variablelog_queries_not_using_indexes

  

  

Yes

  

Global

Yes

log-raw

Yes

Yes

  

  

  

  

log-short-format

Yes

Yes

  

  

  

  

log-slave-updates

Yes

Yes

  

  

Global

No

Variablelog_slave_updates

  

  

Yes

  

Global

No

log_slave_updates

Yes

Yes

Yes

  

Global

No

log-slow-admin-statements

Yes

Yes

  

  

  

  

log_slow_admin_statements

  

  

Yes

  

Global

Yes

log-slow-slave-statements

Yes

Yes

  

  

  

  

log_slow_slave_statements

  

  

Yes

  

Global

Yes

log_statements_unsafe_for_binlog

  

  

Yes

  

Global

Yes

log_syslog

Yes

Yes

Yes

  

Global

Yes

log_syslog_facility

Yes

Yes

Yes

  

Global

Yes

log_syslog_include_pid

Yes

Yes

Yes

  

Global

Yes

log_syslog_tag

Yes

Yes

Yes

  

Global

Yes

log-tc

Yes

Yes

  

  

  

  

log-tc-size

Yes

Yes

  

  

  

  

log_throttle_queries_not_using_indexes

  

  

Yes

  

Global

Yes

log_timestamps

Yes

Yes

Yes

  

Global

Yes

log-warnings

Yes

Yes

  

  

Global

Yes

Variablelog_warnings

  

  

Yes

  

Global

Yes

long_query_time

Yes

Yes

Yes

  

Both

Yes

low-priority-updates

Yes

Yes

  

  

Both

Yes

Variablelow_priority_updates

  

  

Yes

  

Both

Yes

lower_case_file_system

  

  

Yes

  

Global

No

lower_case_table_names

Yes

Yes

Yes

  

Global

No

master-info-file

Yes

Yes

  

  

  

  

master-info-repository

Yes

Yes

  

  

  

  

Variablemaster_info_repository

  

  

  

  

  

  

master_info_repository

Yes

Yes

Yes

  

Global

Yes

master-retry-count

Yes

Yes

  

  

  

  

master-verify-checksum

Yes

Yes

  

  

  

  

Variablemaster_verify_checksum

  

  

  

  

  

  

master_verify_checksum

  

  

Yes

  

Global

Yes

max_allowed_packet

Yes

Yes

Yes

  

Both

Yes

max_binlog_cache_size

Yes

Yes

Yes

  

Global

Yes

max-binlog-dump-events

Yes

Yes

  

  

  

  

max_binlog_size

Yes

Yes

Yes

  

Global

Yes

max_binlog_stmt_cache_size

Yes

Yes

Yes

  

Global

Yes

max_connect_errors

Yes

Yes

Yes

  

Global

Yes

max_connections

Yes

Yes

Yes

  

Global

Yes

max_delayed_threads

Yes

Yes

Yes

  

Both

Yes

max_digest_length

Yes

Yes

Yes

  

Global

No

max_error_count

Yes

Yes

Yes

  

Both

Yes

max_execution_time

Yes

Yes

Yes

  

Both

Yes

Max_execution_time_exceeded

  

  

  

Yes

Both

No

Max_execution_time_set

  

  

  

Yes

Both

No

Max_execution_time_set_failed

  

  

  

Yes

Both

No

max_heap_table_size

Yes

Yes

Yes

  

Both

Yes

max_insert_delayed_threads

  

  

Yes

  

Both

Yes

max_join_size

Yes

Yes

Yes

  

Both

Yes

max_length_for_sort_data

Yes

Yes

Yes

  

Both

Yes

max_points_in_geometry

Yes

Yes

Yes

  

Global

Yes

max_prepared_stmt_count

Yes

Yes

Yes

  

Global

Yes

max_relay_log_size

Yes

Yes

Yes

  

Global

Yes

max_seeks_for_key

Yes

Yes

Yes

  

Both

Yes

max_sort_length

Yes

Yes

Yes

  

Both

Yes

max_sp_recursion_depth

Yes

Yes

Yes

  

Both

Yes

max_statement_time

  

  

Yes

  

Both

Yes

Max_statement_time_exceeded

  

  

  

Yes

Both

No

Max_statement_time_set

  

  

  

Yes

Both

No

Max_statement_time_set_failed

  

  

  

Yes

Both

No

max_tmp_tables

  

  

Yes

  

Both

Yes

Max_used_connections

  

  

  

Yes

Global

No

Max_used_connections_time

  

  

  

Yes

Global

No

max_user_connections

Yes

Yes

Yes

  

Both

Yes

max_write_lock_count

Yes

Yes

Yes

  

Global

Yes

mecab_charset

  

  

  

Yes

Global

No

mecab_rc_file

Yes

Yes

Yes

  

Global

No

memlock

Yes

Yes

  

  

  

  

Variablelocked_in_memory

  

  

  

  

  

  

metadata_locks_cache_size

  

  

Yes

  

Global

No

metadata_locks_hash_instances

  

  

Yes

  

Global

No

min-examined-row-limit

Yes

Yes

Yes

  

Both

Yes

multi_range_count

Yes

Yes

Yes

  

Both

Yes

myisam-block-size

Yes

Yes

  

  

  

  

myisam_data_pointer_size

Yes

Yes

Yes

  

Global

Yes

myisam_max_sort_file_size

Yes

Yes

Yes

  

Global

Yes

myisam_mmap_size

Yes

Yes

Yes

  

Global

No

myisam-recover-options

Yes

Yes

  

  

  

  

Variablemyisam_recover_options

  

  

  

  

  

  

myisam_recover_options

  

  

Yes

  

Global

No

myisam_repair_threads

Yes

Yes

Yes

  

Both

Yes

myisam_sort_buffer_size

Yes

Yes

Yes

  

Both

Yes

myisam_stats_method

Yes

Yes

Yes

  

Both

Yes

myisam_use_mmap

Yes

Yes

Yes

  

Global

Yes

mysql_firewall_mode

Yes

Yes

Yes

  

Global

Yes

mysql_firewall_trace

Yes

Yes

Yes

  

Global

Yes

mysql_native_password_proxy_users

Yes

Yes

Yes

  

Global

Yes

Mysqlx_address

  

  

  

Yes

Global

No

mysqlx_bind_address

Yes

Yes

Yes

  

Global

No

Mysqlx_bytes_received

  

  

  

Yes

Both

No

Mysqlx_bytes_sent

  

  

  

Yes

Both

No

mysqlx_connect_timeout

Yes

Yes

Yes

  

Global

Yes

Mysqlx_connection_accept_errors

  

  

  

Yes

Both

No

Mysqlx_connection_errors

  

  

  

Yes

Both

No

Mysqlx_connections_accepted

  

  

  

Yes

Global

No

Mysqlx_connections_closed

  

  

  

Yes

Global

No

Mysqlx_connections_rejected

  

  

  

Yes

Global

No

Mysqlx_crud_create_view

  

  

  

Yes

Both

No

Mysqlx_crud_delete

  

  

  

Yes

Both

No

Mysqlx_crud_drop_view

  

  

  

Yes

Both

No

Mysqlx_crud_find

  

  

  

Yes

Both

No

Mysqlx_crud_insert

  

  

  

Yes

Both

No

Mysqlx_crud_modify_view

  

  

  

Yes

Both

No

Mysqlx_crud_update

  

  

  

Yes

Both

No

Mysqlx_errors_sent

  

  

  

Yes

Both

No

Mysqlx_errors_unknown_message_type

  

  

  

Yes

Both

No

Mysqlx_expect_close

  

  

  

Yes

Both

No

Mysqlx_expect_open

  

  

  

Yes

Both

No

mysqlx_idle_worker_thread_timeout

Yes

Yes

  

  

  

  

Mysqlx_init_error

  

  

  

Yes

Both

No

mysqlx_max_allowed_packet

Yes

Yes

  

  

  

  

mysqlx_max_connections

Yes

Yes

Yes

  

Global

Yes

mysqlx_min_worker_threads

Yes

Yes

  

  

  

  

Mysqlx_notice_other_sent

  

  

  

Yes

Both

No

Mysqlx_notice_warning_sent

  

  

  

Yes

Both

No

Mysqlx_port

  

  

  

Yes

Global

No

mysqlx_port

Yes

Yes

Yes

  

Global

No

mysqlx_port_open_timeout

Yes

Yes

Yes

  

Global

No

Mysqlx_rows_sent

  

  

  

Yes

Both

No

Mysqlx_sessions

  

  

  

Yes

Global

No

Mysqlx_sessions_accepted

  

  

  

Yes

Global

No

Mysqlx_sessions_closed

  

  

  

Yes

Global

No

Mysqlx_sessions_fatal_error

  

  

  

Yes

Global

No

Mysqlx_sessions_killed

  

  

  

Yes

Global

No

Mysqlx_sessions_rejected

  

  

  

Yes

Global

No

Mysqlx_socket

  

  

  

Yes

Global

No

mysqlx-socket

Yes

Yes

Yes

  

Global

No

mysqlx_socket

Yes

Yes

Yes

  

Global

No

mysqlx_ssl

Yes

Yes

Yes

  

Global

No

Mysqlx_ssl_accept_renegotiates

  

  

  

Yes

Global

No

Mysqlx_ssl_accepts

  

  

  

Yes

Global

No

Mysqlx_ssl_active

  

  

  

Yes

Both

No

mysqlx_ssl_ca

Yes

Yes

Yes

  

Global

No

mysqlx_ssl_capath

Yes

Yes

Yes

  

Global

No

mysqlx_ssl_cert

Yes

Yes

Yes

  

Global

No

Mysqlx_ssl_cipher

  

  

  

Yes

Both

No

mysqlx_ssl_cipher

Yes

Yes

  

  

  

  

Mysqlx_ssl_cipher_list

  

  

  

Yes

Both

No

mysqlx_ssl_crl

Yes

Yes

Yes

  

Global

No

mysqlx_ssl_crlpath

Yes

Yes

Yes

  

Global

No

Mysqlx_ssl_ctx_verify_depth

  

  

  

Yes

Both

No

Mysqlx_ssl_ctx_verify_mode

  

  

  

Yes

Both

No

Mysqlx_ssl_finished_accepts

  

  

  

Yes

Global

No

mysqlx_ssl_key

Yes

Yes

Yes

  

Global

No

Mysqlx_ssl_server_not_after

  

  

  

Yes

Global

No

Mysqlx_ssl_server_not_before

  

  

  

Yes

Global

No

Mysqlx_ssl_verify_depth

  

  

  

Yes

Global

No

Mysqlx_ssl_verify_mode

  

  

  

Yes

Global

No

Mysqlx_ssl_version

  

  

  

Yes

Both

No

Mysqlx_stmt_create_collection

  

  

  

Yes

Both

No

Mysqlx_stmt_create_collection_index

  

  

  

Yes

Both

No

Mysqlx_stmt_disable_notices

  

  

  

Yes

Both

No

Mysqlx_stmt_drop_collection

  

  

  

Yes

Both

No

Mysqlx_stmt_drop_collection_index

  

  

  

Yes

Both

No

Mysqlx_stmt_enable_notices

  

  

  

Yes

Both

No

Mysqlx_stmt_ensure_collection

  

  

  

Yes

Both

No

Mysqlx_stmt_execute_mysqlx

  

  

  

Yes

Both

No

Mysqlx_stmt_execute_sql

  

  

  

Yes

Both

No

Mysqlx_stmt_execute_xplugin

  

  

  

Yes

Both

No

Mysqlx_stmt_kill_client

  

  

  

Yes

Both

No

Mysqlx_stmt_list_clients

  

  

  

Yes

Both

No

Mysqlx_stmt_list_notices

  

  

  

Yes

Both

No

Mysqlx_stmt_list_objects

  

  

  

Yes

Both

No

Mysqlx_stmt_ping

  

  

  

Yes

Both

No

Mysqlx_worker_threads

  

  

  

Yes

Global

No

Mysqlx_worker_threads_active

  

  

  

Yes

Global

No

named_pipe

  

  

Yes

  

Global

No

ndb-allow-copying-alter-table

Yes

Yes

Yes

  

Both

Yes

Ndb_api_bytes_received_count

  

  

  

Yes

Global

No

Ndb_api_bytes_received_count_session

  

  

  

Yes

Session

No

Ndb_api_bytes_received_count_slave

  

  

  

Yes

Global

No

Ndb_api_bytes_sent_count

  

  

  

Yes

Global

No

Ndb_api_bytes_sent_count_slave

  

  

  

Yes

Global

No

Ndb_api_event_bytes_count_injector

  

  

  

Yes

Global

No

Ndb_api_event_data_count_injector

  

  

  

Yes

Global

No

Ndb_api_event_nondata_count_injector

  

  

  

Yes

Global

No

Ndb_api_pk_op_count

  

  

  

Yes

Global

No

Ndb_api_pk_op_count_session

  

  

  

Yes

Session

No

Ndb_api_pk_op_count_slave

  

  

  

Yes

Global

No

Ndb_api_pruned_scan_count

  

  

  

Yes

Global

No

Ndb_api_pruned_scan_count_session

  

  

  

Yes

Session

No

Ndb_api_range_scan_count_slave

  

  

  

Yes

Global

No

Ndb_api_read_row_count

  

  

  

Yes

Global

No

Ndb_api_read_row_count_session

  

  

  

Yes

Session

No

Ndb_api_scan_batch_count_slave

  

  

  

Yes

Global

No

Ndb_api_table_scan_count

  

  

  

Yes

Global

No

Ndb_api_table_scan_count_session

  

  

  

Yes

Session

No

Ndb_api_trans_abort_count

  

  

  

Yes

Global

No

Ndb_api_trans_abort_count_session

  

  

  

Yes

Session

No

Ndb_api_trans_abort_count_slave

  

  

  

Yes

Global

No

Ndb_api_trans_close_count

  

  

  

Yes

Global

No

Ndb_api_trans_close_count_session

  

  

  

Yes

Session

No

Ndb_api_trans_close_count_slave

  

  

  

Yes

Global

No

Ndb_api_trans_commit_count

  

  

  

Yes

Global

No

Ndb_api_trans_commit_count_session

  

  

  

Yes

Session

No

Ndb_api_trans_commit_count_slave

  

  

  

Yes

Global

No

Ndb_api_trans_local_read_row_count_slave

  

  

  

Yes

Global

No

Ndb_api_trans_start_count

  

  

  

Yes

Global

No

Ndb_api_trans_start_count_session

  

  

  

Yes

Session

No

Ndb_api_trans_start_count_slave

  

  

  

Yes

Global

No

Ndb_api_uk_op_count

  

  

  

Yes

Global

No

Ndb_api_uk_op_count_slave

  

  

  

Yes

Global

No

Ndb_api_wait_exec_complete_count

  

  

  

Yes

Global

No

Ndb_api_wait_exec_complete_count_session

  

  

  

Yes

Session

No

Ndb_api_wait_exec_complete_count_slave

  

  

  

Yes

Global

No

Ndb_api_wait_meta_request_count

  

  

  

Yes

Global

No

Ndb_api_wait_meta_request_count_session

  

  

  

Yes

Session

No

Ndb_api_wait_nanos_count

  

  

  

Yes

Global

No

Ndb_api_wait_nanos_count_session

  

  

  

Yes

Session

No

Ndb_api_wait_nanos_count_slave

  

  

  

Yes

Global

No

Ndb_api_wait_scan_result_count

  

  

  

Yes

Global

No

Ndb_api_wait_scan_result_count_session

  

  

  

Yes

Session

No

Ndb_api_wait_scan_result_count_slave

  

  

  

Yes

Global

No

ndb_autoincrement_prefetch_sz

Yes

Yes

Yes

  

Both

Yes

ndb-batch-size

Yes

Yes

Yes

  

Global

No

ndb-blob-read-batch-bytes

Yes

Yes

Yes

  

Both

Yes

ndb-blob-write-batch-bytes

Yes

Yes

Yes

  

Both

Yes

ndb_cache_check_time

Yes

Yes

Yes

  

Global

Yes

ndb_clear_apply_status

Yes

  

Yes

  

Global

Yes

ndb-cluster-connection-pool

Yes

Yes

Yes

  

Global

No

ndb-cluster-connection-pool-nodeids

Yes

Yes

Yes

  

Global

No

Ndb_cluster_node_id

  

  

  

Yes

Both

No

Ndb_config_from_host

  

  

  

Yes

Both

No

Ndb_config_from_port

  

  

  

Yes

Both

No

Ndb_conflict_fn_epoch_trans

  

  

  

Yes

Global

No

Ndb_conflict_fn_max

  

  

  

Yes

Global

No

Ndb_conflict_fn_old

  

  

  

Yes

Global

No

Ndb_conflict_trans_detect_iter_count

  

  

  

Yes

Global

No

Ndb_conflict_trans_row_reject_count

  

  

  

Yes

Global

No

ndb-connectstring

Yes

Yes

  

  

  

  

ndb_data_node_neighbour

Yes

Yes

Yes

  

Global

Yes

ndb-default-column-format

Yes

Yes

  

  

Global

Yes

Variablendb_default_column_format

  

  

Yes

  

Global

Yes

ndb_default_column_format

Yes

Yes

Yes

  

Global

Yes

ndb-deferred-constraints

Yes

Yes

  

  

Both

Yes

Variablendb_deferred_constraints

  

  

Yes

  

Both

Yes

ndb_deferred_constraints

Yes

Yes

Yes

  

Both

Yes

ndb-distribution

Yes

Yes

  

  

Global

Yes

Variablendb_distribution

  

  

Yes

  

Global

Yes

ndb_distribution

Yes

Yes

Yes

  

Global

Yes

ndb_eventbuffer_free_percent

Yes

Yes

Yes

  

Global

Yes

ndb_eventbuffer_max_alloc

Yes

Yes

Yes

  

Global

Yes

ndb_extra_logging

Yes

Yes

Yes

  

Global

Yes

ndb_force_send

Yes

Yes

Yes

  

Both

Yes

ndb_fully_replicated

Yes

Yes

Yes

  

Both

Yes

ndb_index_stat_enable

Yes

Yes

Yes

  

Both

Yes

ndb_index_stat_option

Yes

Yes

Yes

  

Both

Yes

ndb_join_pushdown

  

  

Yes

  

Both

Yes

Ndb_last_commit_epoch_server

  

  

  

Yes

Global

No

Ndb_last_commit_epoch_session

  

  

  

Yes

Session

No

ndb-log-apply-status

Yes

Yes

  

  

Global

No

Variablendb_log_apply_status

  

  

Yes

  

Global

No

ndb_log_apply_status

Yes

Yes

Yes

  

Global

No

ndb_log_bin

Yes

  

Yes

  

Both

Yes

ndb_log_binlog_index

Yes

  

Yes

  

Global

Yes

ndb-log-empty-epochs

Yes

Yes

Yes

  

Global

Yes

ndb_log_empty_epochs

Yes

Yes

Yes

  

Global

Yes

ndb-log-empty-update

Yes

Yes

Yes

  

Global

Yes

ndb_log_empty_update

Yes

Yes

Yes

  

Global

Yes

ndb-log-exclusive-reads

Yes

Yes

  

  

Both

Yes

Variablendb_log_exclusive_reads

  

  

Yes

  

Both

Yes

ndb_log_exclusive_reads

Yes

Yes

Yes

  

Both

Yes

ndb-log-orig

Yes

Yes

  

  

Global

No

Variablendb_log_orig

  

  

Yes

  

Global

No

ndb_log_orig

Yes

Yes

Yes

  

Global

No

ndb-log-transaction-id

Yes

Yes

  

  

Global

No

Variablendb_log_transaction_id

  

  

Yes

  

Global

No

ndb_log_transaction_id

  

  

Yes

  

Global

No

ndb-log-update-minimal

Yes

Yes

Yes

  

Global

Yes

ndb_log_updated_only

Yes

Yes

Yes

  

Global

Yes

ndb-mgmd-host

Yes

Yes

  

  

  

  

ndb-nodeid

Yes

Yes

  

Yes

Global

No

Ndb_number_of_data_nodes

  

  

  

Yes

Global

No

ndb_optimization_delay

  

  

Yes

  

Global

Yes

ndb_optimized_node_selection

Yes

Yes

Yes

  

Global

No

Ndb_pushed_queries_defined

  

  

  

Yes

Global

No

Ndb_pushed_queries_executed

  

  

  

Yes

Global

No

ndb_read_backup

Yes

Yes

Yes

  

Global

Yes

ndb-recv-thread-activation-threshold

Yes

Yes

  

  

  

  

Variablendb_recv_thread_activation_threshold

  

  

  

  

  

  

ndb_recv_thread_activation_threshold

  

  

  

  

  

  

ndb-recv-thread-cpu-mask

Yes

Yes

  

  

  

  

Variablendb_recv_thread_cpu_mask

  

  

  

  

  

  

ndb_recv_thread_cpu_mask

  

  

Yes

  

Global

Yes

ndb_report_thresh_binlog_epoch_slip

Yes

Yes

Yes

  

Global

Yes

ndb_report_thresh_binlog_mem_usage

Yes

Yes

Yes

  

Global

Yes

Ndb_scan_count

  

  

  

Yes

Global

No

ndb_show_foreign_key_mock_tables

Yes

Yes

Yes

  

Global

Yes

ndb_slave_conflict_role

Yes

Yes

Yes

  

Global

Yes

Ndb_slave_max_replicated_epoch

  

  

Yes

  

Global

No

Ndb_system_name

  

  

Yes

  

Global

No

ndb_table_no_logging

  

  

Yes

  

Session

Yes

ndb_table_temporary

  

  

Yes

  

Session

Yes

ndb-transid-mysql-connection-map

Yes

  

  

  

  

  

ndb_use_copying_alter_table

  

  

Yes

  

Both

No

ndb_use_exact_count

  

  

Yes

  

Both

Yes

ndb_use_transactions

Yes

Yes

Yes

  

Both

Yes

ndb_version

  

  

Yes

  

Global

No

ndb_version_string

  

  

Yes

  

Global

No

ndb-wait-connected

Yes

Yes

Yes

  

Global

No

ndb-wait-setup

Yes

Yes

Yes

  

Global

No

ndbcluster

Yes

Yes

  

  

  

  

ndbinfo_database

  

  

Yes

  

Global

No

ndbinfo_max_bytes

Yes

  

Yes

  

Both

Yes

ndbinfo_max_rows

Yes

  

Yes

  

Both

Yes

ndbinfo_offline

  

  

Yes

  

Global

Yes

ndbinfo_show_hidden

Yes

  

Yes

  

Both

Yes

ndbinfo_table_prefix

Yes

  

Yes

  

Both

Yes

ndbinfo_version

  

  

Yes

  

Global

No

net_buffer_length

Yes

Yes

Yes

  

Both

Yes

net_read_timeout

Yes

Yes

Yes

  

Both

Yes

net_retry_count

Yes

Yes

Yes

  

Both

Yes

net_write_timeout

Yes

Yes

Yes

  

Both

Yes

new

Yes

Yes

Yes

  

Both

Yes

ngram_token_size

Yes

Yes

Yes

  

Global

No

no-defaults

Yes

  

  

  

  

  

Not_flushed_delayed_rows

  

  

  

Yes

Global

No

offline_mode

Yes

Yes

Yes

  

Global

Yes

old

Yes

Yes

Yes

  

Global

No

old-alter-table

Yes

Yes

  

  

Both

Yes

Variableold_alter_table

  

  

Yes

  

Both

Yes

old_passwords

  

  

Yes

  

Both

Yes

old-style-user-limits

Yes

Yes

  

  

  

  

Ongoing_anonymous_gtid_violating_transaction_count

  

  

  

Yes

Global

No

Ongoing_anonymous_transaction_count

  

  

  

Yes

Global

No

Ongoing_automatic_gtid_violating_transaction_count

  

  

  

Yes

Global

No

Open_files

  

  

  

Yes

Global

No

open-files-limit

Yes

Yes

  

  

Global

No

Variableopen_files_limit

  

  

Yes

  

Global

No

Open_streams

  

  

  

Yes

Global

No

Open_table_definitions

  

  

  

Yes

Global

No

Open_tables

  

  

  

Yes

Both

No

Opened_files

  

  

  

Yes

Global

No

Opened_table_definitions

  

  

  

Yes

Both

No

Opened_tables

  

  

  

Yes

Both

No

optimizer_prune_level

Yes

Yes

Yes

  

Both

Yes

optimizer_search_depth

Yes

Yes

Yes

  

Both

Yes

optimizer_switch

Yes

Yes

Yes

  

Both

Yes

optimizer_trace

  

  

Yes

  

Both

Yes

optimizer_trace_features

  

  

Yes

  

Both

Yes

optimizer_trace_limit

  

  

Yes

  

Both

Yes

optimizer_trace_max_mem_size

  

  

Yes

  

Both

Yes

optimizer_trace_offset

  

  

Yes

  

Both

Yes

parser_max_mem_size

Yes

Yes

Yes

  

Both

Yes

partition

Yes

Yes

  

  

  

  

performance_schema

Yes

Yes

Yes

  

Global

No

Performance_schema_accounts_lost

  

  

  

Yes

Global

No

performance_schema_accounts_size

Yes

Yes

Yes

  

Global

No

Performance_schema_cond_classes_lost

  

  

  

Yes

Global

No

Performance_schema_cond_instances_lost

  

  

  

Yes

Global

No

performance-schema-consumer-events-stages-current

Yes

Yes

  

  

  

  

performance-schema-consumer-events-stages-history

Yes

Yes

  

  

  

  

performance-schema-consumer-events-stages-history-long

Yes

Yes

  

  

  

  

performance-schema-consumer-events-statements-current

Yes

Yes

  

  

  

  

performance-schema-consumer-events-statements-history

Yes

Yes

  

  

  

  

performance-schema-consumer-events-statements-history-long

Yes

Yes

  

  

  

  

performance-schema-consumer-events-transactions-current

Yes

Yes

  

  

  

  

performance-schema-consumer-events-transactions-history

Yes

Yes

  

  

  

  

performance-schema-consumer-events-transactions-history-long

Yes

Yes

  

  

  

  

performance-schema-consumer-events-waits-current

Yes

Yes

  

  

  

  

performance-schema-consumer-events-waits-history

Yes

Yes

  

  

  

  

performance-schema-consumer-events-waits-history-long

Yes

Yes

  

  

  

  

performance-schema-consumer-global-instrumentation

Yes

Yes

  

  

  

  

performance-schema-consumer-statements-digest

Yes

Yes

  

  

  

  

performance-schema-consumer-thread-instrumentation

Yes

Yes

  

  

  

  

Performance_schema_digest_lost

  

  

  

Yes

Global

No

performance_schema_digests_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_stages_history_long_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_stages_history_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_statements_history_long_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_statements_history_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_transactions_history_long_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_transactions_history_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_waits_history_long_size

Yes

Yes

Yes

  

Global

No

performance_schema_events_waits_history_size

Yes

Yes

Yes

  

Global

No

Performance_schema_file_classes_lost

  

  

  

Yes

Global

No

Performance_schema_file_handles_lost

  

  

  

Yes

Global

No

Performance_schema_file_instances_lost

  

  

  

Yes

Global

No

Performance_schema_hosts_lost

  

  

  

Yes

Global

No

performance_schema_hosts_size

Yes

Yes

Yes

  

Global

No

Performance_schema_index_stat_lost

  

  

  

Yes

Global

No

performance-schema-instrument

Yes

Yes

  

  

  

  

Performance_schema_locker_lost

  

  

  

Yes

Global

No

performance_schema_max_cond_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_cond_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_digest_length

Yes

Yes

Yes

  

Global

No

performance_schema_max_file_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_file_handles

Yes

Yes

Yes

  

Global

No

performance_schema_max_file_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_index_stat

Yes

Yes

Yes

  

Global

No

performance_schema_max_memory_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_metadata_locks

Yes

Yes

Yes

  

Global

No

performance_schema_max_mutex_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_mutex_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_prepared_statements_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_program_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_rwlock_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_rwlock_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_socket_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_socket_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_sql_text_length

Yes

Yes

Yes

  

Global

No

performance_schema_max_stage_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_statement_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_statement_stack

Yes

Yes

Yes

  

Global

No

performance_schema_max_table_handles

Yes

Yes

Yes

  

Global

No

performance_schema_max_table_instances

Yes

Yes

Yes

  

Global

No

performance_schema_max_table_lock_stat

Yes

Yes

Yes

  

Global

No

performance_schema_max_thread_classes

Yes

Yes

Yes

  

Global

No

performance_schema_max_thread_instances

Yes

Yes

Yes

  

Global

No

Performance_schema_memory_classes_lost

  

  

  

Yes

Global

No

Performance_schema_metadata_lock_lost

  

  

  

Yes

Global

No

Performance_schema_mutex_classes_lost

  

  

  

Yes

Global

No

Performance_schema_mutex_instances_lost

  

  

  

Yes

Global

No

Performance_schema_nested_statement_lost

  

  

  

Yes

Global

No

Performance_schema_prepared_statements_lost

  

  

  

Yes

Global

No

Performance_schema_program_lost

  

  

  

Yes

Global

No

Performance_schema_rwlock_classes_lost

  

  

  

Yes

Global

No

Performance_schema_rwlock_instances_lost

  

  

  

Yes

Global

No

Performance_schema_session_connect_attrs_lost

  

  

  

Yes

Global

No

performance_schema_session_connect_attrs_size

Yes

Yes

Yes

  

Global

No

performance_schema_setup_actors_size

Yes

Yes

Yes

  

Global

No

performance_schema_setup_objects_size

Yes

Yes

Yes

  

Global

No

Performance_schema_socket_classes_lost

  

  

  

Yes

Global

No

Performance_schema_socket_instances_lost

  

  

  

Yes

Global

No

Performance_schema_stage_classes_lost

  

  

  

Yes

Global

No

Performance_schema_statement_classes_lost

  

  

  

Yes

Global

No

Performance_schema_table_handles_lost

  

  

  

Yes

Global

No

Performance_schema_table_instances_lost

  

  

  

Yes

Global

No

Performance_schema_table_lock_stat_lost

  

  

  

Yes

Global

No

Performance_schema_thread_classes_lost

  

  

  

Yes

Global

No

Performance_schema_thread_instances_lost

  

  

  

Yes

Global

No

Performance_schema_users_lost

  

  

  

Yes

Global

No

performance_schema_users_size

Yes

Yes

Yes

  

Global

No

pid-file

Yes

Yes

  

  

Global

No

Variablepid_file

  

  

Yes

  

Global

No

plugin

Yes

Yes

  

  

  

  

plugin_dir

Yes

Yes

Yes

  

Global

No

plugin-load

Yes

Yes

  

  

  

  

plugin-load-add

Yes

Yes

  

  

  

  

port

Yes

Yes

Yes

  

Global

No

port-open-timeout

Yes

Yes

  

  

  

  

preload_buffer_size

Yes

Yes

Yes

  

Both

Yes

Prepared_stmt_count

  

  

  

Yes

Global

No

print-defaults

Yes

  

  

  

  

  

profiling

  

  

Yes

  

Both

Yes

profiling_history_size

Yes

Yes

Yes

  

Both

Yes

protocol_version

  

  

Yes

  

Global

No

proxy_user

  

  

Yes

  

Session

No

pseudo_slave_mode

  

  

Yes

  

Session

Yes

pseudo_thread_id

  

  

Yes

  

Session

Yes

Qcache_free_blocks

  

  

  

Yes

Global

No

Qcache_free_memory

  

  

  

Yes

Global

No

Qcache_hits

  

  

  

Yes

Global

No

Qcache_inserts

  

  

  

Yes

Global

No

Qcache_lowmem_prunes

  

  

  

Yes

Global

No

Qcache_not_cached

  

  

  

Yes

Global

No

Qcache_queries_in_cache

  

  

  

Yes

Global

No

Qcache_total_blocks

  

  

  

Yes

Global

No

Queries

  

  

  

Yes

Both

No

query_alloc_block_size

Yes

Yes

Yes

  

Both

Yes

query_cache_limit

Yes

Yes

Yes

  

Global

Yes

query_cache_min_res_unit

Yes

Yes

Yes

  

Global

Yes

query_cache_size

Yes

Yes

Yes

  

Global

Yes

query_cache_type

Yes

Yes

Yes

  

Both

Yes

query_cache_wlock_invalidate

Yes

Yes

Yes

  

Both

Yes

query_prealloc_size

Yes

Yes

Yes

  

Both

Yes

Questions

  

  

  

Yes

Both

No

rand_seed1

  

  

Yes

  

Session

Yes

rand_seed2

  

  

Yes

  

Session

Yes

range_alloc_block_size

Yes

Yes

Yes

  

Both

Yes

range_optimizer_max_mem_size

Yes

Yes

Yes

  

Both

Yes

rbr_exec_mode

  

  

Yes

  

Session

Yes

read_buffer_size

Yes

Yes

Yes

  

Both

Yes

read_only

Yes

Yes

Yes

  

Global

Yes

read_rnd_buffer_size

Yes

Yes

Yes

  

Both

Yes

relay-log

Yes

Yes

  

  

Global

No

Variablerelay_log

  

  

Yes

  

Global

No

relay_log_basename

  

  

Yes

  

Global

No

relay-log-index

Yes

Yes

  

  

Global

No

Variablerelay_log_index

  

  

Yes

  

Global

No

relay_log_index

Yes

Yes

Yes

  

Global

No

relay-log-info-file

Yes

Yes

  

  

  

  

Variablerelay_log_info_file

  

  

  

  

  

  

relay_log_info_file

Yes

Yes

Yes

  

Global

No

relay-log-info-repository

Yes

Yes

  

  

  

  

Variablerelay_log_info_repository

  

  

  

  

  

  

relay_log_info_repository

  

  

Yes

  

Global

Yes

relay_log_purge

Yes

Yes

Yes

  

Global

Yes

relay-log-recovery

Yes

Yes

  

  

  

  

Variablerelay_log_recovery

  

  

  

  

  

  

relay_log_recovery

Yes

Yes

Yes

  

Global

No

relay_log_space_limit

Yes

Yes

Yes

  

Global

No

remove

Yes

  

  

  

  

  

replicate-do-db

Yes

Yes

  

  

  

  

replicate-do-table

Yes

Yes

  

  

  

  

replicate-ignore-db

Yes

Yes

  

  

  

  

replicate-ignore-table

Yes

Yes

  

  

  

  

replicate-rewrite-db

Yes

Yes

  

  

  

  

replicate-same-server-id

Yes

Yes

  

  

  

  

replicate-wild-do-table

Yes

Yes

  

  

  

  

replicate-wild-ignore-table

Yes

Yes

  

  

  

  

report-host

Yes

Yes

  

  

Global

No

Variablereport_host

  

  

Yes

  

Global

No

report-password

Yes

Yes

  

  

Global

No

Variablereport_password

  

  

Yes

  

Global

No

report-port

Yes

Yes

  

  

Global

No

Variablereport_port

  

  

Yes

  

Global

No

report-user

Yes

Yes

  

  

Global

No

Variablereport_user

  

  

Yes

  

Global

No

require_secure_transport

Yes

Yes

Yes

  

Global

Yes

rewriter_enabled

  

  

Yes

  

Global

Yes

Rewriter_number_loaded_rules

  

  

  

Yes

Global

No

Rewriter_number_reloads

  

  

  

Yes

Global

No

Rewriter_number_rewritten_queries

  

  

  

Yes

Global

No

Rewriter_reload_error

  

  

  

Yes

Global

No

rewriter_verbose

  

  

Yes

  

Global

Yes

Rpl_semi_sync_master_clients

  

  

  

Yes

Global

No

rpl_semi_sync_master_enabled

  

  

Yes

  

Global

Yes

Rpl_semi_sync_master_net_avg_wait_time

  

  

  

Yes

Global

No

Rpl_semi_sync_master_net_wait_time

  

  

  

Yes

Global

No

Rpl_semi_sync_master_net_waits

  

  

  

Yes

Global

No

Rpl_semi_sync_master_no_times

  

  

  

Yes

Global

No

Rpl_semi_sync_master_no_tx

  

  

  

Yes

Global

No

Rpl_semi_sync_master_status

  

  

  

Yes

Global

No

Rpl_semi_sync_master_timefunc_failures

  

  

  

Yes

Global

No

rpl_semi_sync_master_timeout

  

  

Yes

  

Global

Yes

rpl_semi_sync_master_trace_level

  

  

Yes

  

Global

Yes

Rpl_semi_sync_master_tx_avg_wait_time

  

  

  

Yes

Global

No

Rpl_semi_sync_master_tx_wait_time

  

  

  

Yes

Global

No

Rpl_semi_sync_master_tx_waits

  

  

  

Yes

Global

No

rpl_semi_sync_master_wait_for_slave_count

  

  

Yes

  

Global

Yes

rpl_semi_sync_master_wait_no_slave

  

  

Yes

  

Global

Yes

rpl_semi_sync_master_wait_point

  

  

Yes

  

Global

Yes

Rpl_semi_sync_master_wait_pos_backtraverse

  

  

  

Yes

Global

No

Rpl_semi_sync_master_wait_sessions

  

  

  

Yes

Global

No

Rpl_semi_sync_master_yes_tx

  

  

  

Yes

Global

No

rpl_semi_sync_slave_enabled

  

  

Yes

  

Global

Yes

Rpl_semi_sync_slave_status

  

  

  

Yes

Global

No

rpl_semi_sync_slave_trace_level

  

  

Yes

  

Global

Yes

rpl_stop_slave_timeout

Yes

Yes

Yes

  

Global

Yes

Rsa_public_key

  

  

  

Yes

Global

No

safe-user-create

Yes

Yes

  

  

  

  

secure-auth

Yes

Yes

  

  

Global

Yes

Variablesecure_auth

  

  

Yes

  

Global

Yes

secure-file-priv

Yes

Yes

  

  

Global

No

Variablesecure_file_priv

  

  

Yes

  

Global

No

Select_full_join

  

  

  

Yes

Both

No

Select_full_range_join

  

  

  

Yes

Both

No

Select_range

  

  

  

Yes

Both

No

Select_range_check

  

  

  

Yes

Both

No

Select_scan

  

  

  

Yes

Both

No

server-id

Yes

Yes

  

  

Global

Yes

Variableserver_id

  

  

Yes

  

Global

Yes

server-id-bits

Yes

Yes

  

  

Global

No

Variableserver_id_bits

  

  

Yes

  

Global

No

server_id_bits

Yes

Yes

Yes

  

Global

No

server_uuid

  

  

Yes

  

Global

No

session_track_gtids

Yes

Yes

Yes

  

Both

Yes

session_track_schema

Yes

Yes

Yes

  

Both

Yes

session_track_state_change

Yes

Yes

Yes

  

Both

Yes

session_track_system_variables

Yes

Yes

Yes

  

Both

Yes

sha256_password_auto_generate_rsa_keys

Yes

Yes

Yes

  

Global

No

sha256_password_private_key_path

  

  

Yes

  

Global

No

sha256_password_proxy_users

Yes

Yes

Yes

  

Global

Yes

sha256_password_public_key_path

  

  

Yes

  

Global

No

shared_memory

Yes

Yes

Yes

  

Global

No

shared_memory_base_name

Yes

Yes

Yes

  

Global

No

show_compatibility_56

Yes

Yes

Yes

  

Global

Yes

show_old_temporals

Yes

Yes

Yes

  

Both

Yes

show-slave-auth-info

Yes

Yes

  

  

  

  

simplified_binlog_gtid_recovery

Yes

Yes

Yes

  

Global

No

skip-character-set-client-handshake

Yes

Yes

  

  

  

  

skip-concurrent-insert

Yes

Yes

  

  

  

  

Variableconcurrent_insert

  

  

  

  

  

  

skip-event-scheduler

Yes

Yes

  

  

  

  

skip_external_locking

Yes

Yes

Yes

  

Global

No

skip-grant-tables

Yes

Yes

  

  

  

  

skip-host-cache

Yes

Yes

  

  

  

  

skip-name-resolve

Yes

Yes

  

  

Global

No

Variableskip_name_resolve

  

  

Yes

  

Global

No

skip-ndbcluster

Yes

Yes

  

  

  

  

skip-networking

Yes

Yes

  

  

Global

No

Variableskip_networking

  

  

Yes

  

Global

No

skip-new

Yes

Yes

  

  

  

  

skip-partition

Yes

Yes

  

  

  

  

skip-show-database

Yes

Yes

  

  

Global

No

Variableskip_show_database

  

  

Yes

  

Global

No

skip-slave-start

Yes

Yes

  

  

  

  

skip-ssl

Yes

Yes

  

  

  

  

skip-stack-trace

Yes

Yes

  

  

  

  

slave_allow_batching

Yes

Yes

Yes

  

Global

Yes

slave-checkpoint-group

Yes

Yes

  

  

  

  

Variableslave_checkpoint_group

  

  

  

  

  

  

slave_checkpoint_group

Yes

Yes

Yes

  

Global

Yes

slave-checkpoint-period

Yes

Yes

  

  

  

  

Variableslave_checkpoint_period

  

  

  

  

  

  

slave_checkpoint_period

Yes

Yes

Yes

  

Global

Yes

slave_compressed_protocol

Yes

Yes

Yes

  

Global

Yes

slave_exec_mode

Yes

Yes

Yes

  

Global

Yes

Slave_heartbeat_period

  

  

  

Yes

Global

No

Slave_last_heartbeat

  

  

  

Yes

Global

No

slave-load-tmpdir

Yes

Yes

  

  

Global

No

Variableslave_load_tmpdir

  

  

Yes

  

Global

No

slave-max-allowed-packet

Yes

Yes

  

  

  

  

Variableslave_max_allowed_packet

  

  

  

  

  

  

slave_max_allowed_packet

  

  

Yes

  

Global

Yes

slave-net-timeout

Yes

Yes

  

  

Global

Yes

Variableslave_net_timeout

  

  

Yes

  

Global

Yes

Slave_open_temp_tables

  

  

  

Yes

Global

No

slave-parallel-type

Yes

Yes

  

  

  

  

Variableslave_parallel_type

  

  

  

  

  

  

slave_parallel_type

  

  

Yes

  

Global

Yes

slave-parallel-workers

Yes

Yes

  

  

  

  

Variableslave_parallel_workers

  

  

  

  

  

  

slave_parallel_workers

Yes

  

Yes

  

Global

Yes

slave-pending-jobs-size-max

Yes

  

  

  

  

  

Variableslave_pending_jobs_size_max

  

  

  

  

  

  

slave_pending_jobs_size_max

  

  

Yes

  

Global

Yes

slave_preserve_commit_order

Yes

  

Yes

  

Global

Yes

Slave_received_heartbeats

  

  

  

Yes

Global

No

Slave_retried_transactions

  

  

  

Yes

Global

No

Slave_rows_last_search_algorithm_used

  

  

  

Yes

Global

No

slave-rows-search-algorithms

Yes

Yes

  

  

  

  

Variableslave_rows_search_algorithms

  

  

  

  

  

  

slave_rows_search_algorithms

  

  

Yes

  

Global

Yes

Slave_running

  

  

  

Yes

Global

No

slave-skip-errors

Yes

Yes

  

  

Global

No

Variableslave_skip_errors

  

  

Yes

  

Global

No

slave-sql-verify-checksum

Yes

Yes

  

  

  

  

slave_sql_verify_checksum

  

  

Yes

  

Global

Yes

slave_transaction_retries

Yes

Yes

Yes

  

Global

Yes

slave_type_conversions

Yes

Yes

Yes

  

Global

No

Slow_launch_threads

  

  

  

Yes

Both

No

slow_launch_time

Yes

Yes

Yes

  

Global

Yes

Slow_queries

  

  

  

Yes

Both

No

slow-query-log

Yes

Yes

  

  

Global

Yes

Variableslow_query_log

  

  

Yes

  

Global

Yes

slow_query_log_file

Yes

Yes

Yes

  

Global

Yes

slow-start-timeout

Yes

Yes

  

  

  

  

socket

Yes

Yes

Yes

  

Global

No

sort_buffer_size

Yes

Yes

Yes

  

Both

Yes

Sort_merge_passes

  

  

  

Yes

Both

No

Sort_range

  

  

  

Yes

Both

No

Sort_rows

  

  

  

Yes

Both

No

Sort_scan

  

  

  

Yes

Both

No

sporadic-binlog-dump-fail

Yes

Yes

  

  

  

  

sql_auto_is_null

  

  

Yes

  

Both

Yes

sql_big_selects

  

  

Yes

  

Both

Yes

sql_buffer_result

  

  

Yes

  

Both

Yes

sql_log_bin

  

  

Yes

  

Session

Yes

sql_log_off

  

  

Yes

  

Both

Yes

sql-mode

Yes

Yes

  

  

Both

Yes

Variablesql_mode

  

  

Yes

  

Both

Yes

sql_notes

  

  

Yes

  

Both

Yes

sql_quote_show_create

  

  

Yes

  

Both

Yes

sql_safe_updates

  

  

Yes

  

Both

Yes

sql_select_limit

  

  

Yes

  

Both

Yes

sql_slave_skip_counter

  

  

Yes

  

Global

Yes

sql_warnings

  

  

Yes

  

Both

Yes

ssl

Yes

Yes

  

  

  

  

Ssl_accept_renegotiates

  

  

  

Yes

Global

No

Ssl_accepts

  

  

  

Yes

Global

No

ssl-ca

Yes

Yes

  

  

Global

No

Variablessl_ca

  

  

Yes

  

Global

No

Ssl_callback_cache_hits

  

  

  

Yes

Global

No

ssl-capath

Yes

Yes

  

  

Global

No

Variablessl_capath

  

  

Yes

  

Global

No

ssl-cert

Yes

Yes

  

  

Global

No

Variablessl_cert

  

  

Yes

  

Global

No

Ssl_cipher

  

  

  

Yes

Both

No

ssl-cipher

Yes

Yes

  

  

Global

No

Variablessl_cipher

  

  

Yes

  

Global

No

Ssl_cipher_list

  

  

  

Yes

Both

No

Ssl_client_connects

  

  

  

Yes

Global

No

Ssl_connect_renegotiates

  

  

  

Yes

Global

No

ssl-crl

Yes

Yes

  

  

Global

No

Variablessl_crl

  

  

Yes

  

Global

No

ssl-crlpath

Yes

Yes

  

  

Global

No

Variablessl_crlpath

  

  

Yes

  

Global

No

Ssl_ctx_verify_depth

  

  

  

Yes

Global

No

Ssl_ctx_verify_mode

  

  

  

Yes

Global

No

Ssl_default_timeout

  

  

  

Yes

Both

No

Ssl_finished_accepts

  

  

  

Yes

Global

No

Ssl_finished_connects

  

  

  

Yes

Global

No

ssl-key

Yes

Yes

  

  

Global

No

Variablessl_key

  

  

Yes

  

Global

No

Ssl_server_not_after

  

  

  

Yes

Both

No

Ssl_server_not_before

  

  

  

Yes

Both

No

Ssl_session_cache_hits

  

  

  

Yes

Global

No

Ssl_session_cache_misses

  

  

  

Yes

Global

No

Ssl_session_cache_mode

  

  

  

Yes

Global

No

Ssl_session_cache_overflows

  

  

  

Yes

Global

No

Ssl_session_cache_size

  

  

  

Yes

Global

No

Ssl_session_cache_timeouts

  

  

  

Yes

Global

No

Ssl_sessions_reused

  

  

  

Yes

Both

No

Ssl_used_session_cache_entries

  

  

  

Yes

Global

No

Ssl_verify_depth

  

  

  

Yes

Both

No

Ssl_verify_mode

  

  

  

Yes

Both

No

Ssl_version

  

  

  

Yes

Both

No

standalone

Yes

Yes

  

  

  

  

storage_engine

  

  

Yes

  

Both

Yes

stored_program_cache

Yes

Yes

Yes

  

Global

Yes

super-large-pages

Yes

Yes

  

  

  

  

super_read_only

Yes

Yes

Yes

  

Global

Yes

symbolic-links

Yes

Yes

  

  

  

  

sync_binlog

Yes

Yes

Yes

  

Global

Yes

sync_frm

Yes

Yes

Yes

  

Global

Yes

sync_master_info

Yes

Yes

Yes

  

Global

Yes

sync_relay_log

Yes

Yes

Yes

  

Global

Yes

sync_relay_log_info

Yes

Yes

Yes

  

Global

Yes

sysdate-is-now

Yes

Yes

  

  

  

  

system_time_zone

  

  

Yes

  

Global

No

table_definition_cache

  

  

Yes

  

Global

Yes

Table_locks_immediate

  

  

  

Yes

Global

No

Table_locks_waited

  

  

  

Yes

Global

No

table_open_cache

  

  

Yes

  

Global

Yes

Table_open_cache_hits

  

  

  

Yes

Both

No

table_open_cache_instances

  

  

Yes

  

Global

No

Table_open_cache_misses

  

  

  

Yes

Both

No

Table_open_cache_overflows

  

  

  

Yes

Both

No

tc-heuristic-recover

Yes

Yes

  

  

  

  

Tc_log_max_pages_used

  

  

  

Yes

Global

No

Tc_log_page_size

  

  

  

Yes

Global

No

Tc_log_page_waits

  

  

  

Yes

Global

No

temp-pool

Yes

Yes

  

  

  

  

thread_cache_size

Yes

Yes

Yes

  

Global

Yes

thread_concurrency

Yes

Yes

Yes

  

Global

No

thread_handling

Yes

Yes

Yes

  

Global

No

thread_pool_algorithm

Yes

Yes

Yes

  

Global

No

thread_pool_high_priority_connection

Yes

Yes

Yes

  

Both

Yes

thread_pool_max_unused_threads

Yes

Yes

Yes

  

Global

Yes

thread_pool_prio_kickup_timer

Yes

Yes

Yes

  

Both

Yes

thread_pool_size

Yes

Yes

Yes

  

Global

No

thread_pool_stall_limit

Yes

Yes

Yes

  

Global

Yes

thread_stack

Yes

Yes

Yes

  

Global

No

Threads_cached

  

  

  

Yes

Global

No

Threads_connected

  

  

  

Yes

Global

No

Threads_created

  

  

  

Yes

Global

No

Threads_running

  

  

  

Yes

Global

No

time_format

  

  

Yes

  

Global

No

time_zone

  

  

Yes

  

Both

Yes

timed_mutexes

Yes

Yes

Yes

  

Global

Yes

timestamp

  

  

Yes

  

Session

Yes

tls_version

Yes

Yes

Yes

  

Global

No

tmp_table_size

Yes

Yes

Yes

  

Both

Yes

tmpdir

Yes

Yes

Yes

  

Global

No

transaction_alloc_block_size

Yes

Yes

Yes

  

Both

Yes

transaction_allow_batching

  

  

Yes

  

Session

Yes

transaction-isolation

Yes

Yes

  

  

Both

Yes

Variabletx_isolation

  

  

Yes

  

Both

Yes

transaction_prealloc_size

Yes

Yes

Yes

  

Both

Yes

transaction-read-only

Yes

Yes

  

  

Both

Yes

Variabletx_read_only

  

  

Yes

  

Both

Yes

transaction_write_set_extraction

Yes

  

Yes

  

Both

Yes

tx_isolation

  

  

Yes

  

Both

Yes

tx_read_only

  

  

Yes

  

Both

Yes

unique_checks

  

  

Yes

  

Both

Yes

updatable_views_with_limit

Yes

Yes

Yes

  

Both

Yes

Uptime

  

  

  

Yes

Global

No

Uptime_since_flush_status

  

  

  

Yes

Global

No

user

Yes

Yes

  

  

  

  

validate-password

Yes

Yes

  

  

  

  

validate_password_check_user_name

Yes

Yes

Yes

  

Global

Yes

validate_password_dictionary_file

  

  

Yes

  

Global

Varies

validate_password_dictionary_file_last_parsed

  

  

  

Yes

Global

No

validate_password_dictionary_file_words_count

  

  

  

Yes

Global

No

validate_password_length

  

  

Yes

  

Global

Yes

validate_password_mixed_case_count

  

  

Yes

  

Global

Yes

validate_password_number_count

  

  

Yes

  

Global

Yes

validate_password_policy

  

  

Yes

  

Global

Yes

validate_password_special_char_count

  

  

Yes

  

Global

Yes

validate_user_plugins

  

  

Yes

  

Global

No

verbose

Yes

Yes

  

  

  

  

version

  

  

Yes

  

Global

No

version_comment

  

  

Yes

  

Global

No

version_compile_machine

  

  

Yes

  

Global

No

version_compile_os

  

  

Yes

  

Global

No

version_tokens_session

Yes

Yes

Yes

  

Both

Yes

version_tokens_session_number

Yes

Yes

Yes

  

Both

No

wait_timeout

Yes

Yes

Yes

  

Both

Yes

warning_count

  

  

Yes

  

Session

No

[a] This option is dynamic, but only the server should set this information. You should not set the value of this variable manually.

[b] This option is dynamic, but only the server should set this information. You should not set the value of this variable manually.

 

5.1.4 Server Command Options

When you start the mysqld server, you can specify program options using any of the methods described inSection 4.2.3, "Specifying Program Options". The most common methods are to provide options in an option file or on the command line. However, in most cases it is desirable to make sure that the server uses the same options each time it runs. The best way to ensure this is to list them in an option file. See Section 4.2.6, "Using Option Files". That section also describes option file format and syntax.

mysqld reads options from the [mysqld] and [server] groups. mysqld_safe reads options from the[mysqld][server][mysqld_safe], and [safe_mysqld] groups. mysql.server reads options from the[mysqld] and [mysql.server] groups.

An embedded MySQL server usually reads options from the [server][embedded], and [xxxxx_SERVER]groups, where xxxxx is the name of the application into which the server is embedded.

mysqld accepts many command options. For a brief summary, execute this command:

mysqld --help

To see the full list, use this command:

mysqld --verbose --help

Some of the items in the list are actually system variables that can be set at server startup. These can be displayed at runtime using the SHOW VARIABLES statement. Some items displayed by the preceding mysqldcommand do not appear in SHOW VARIABLES output; this is because they are options only and not system variables.

The following list shows some of the most common server options. Additional options are described in other sections:

Some options control the size of buffers or caches. For a given buffer, the server might need to allocate internal data structures. These structures typically are allocated from the total memory allocated to the buffer, and the amount of space required might be platform dependent. This means that when you assign a value to an option that controls a buffer size, the amount of space actually available might differ from the value assigned. In some cases, the amount might be less than the value assigned. It is also possible that the server will adjust a value upward. For example, if you assign a value of 0 to an option for which the minimal value is 1024, the server will set the value to 1024.

Values for buffer sizes, lengths, and stack sizes are given in bytes unless otherwise specified.

Some options take file name values. Unless otherwise specified, the default file location is the data directory if the value is a relative path name. To specify the location explicitly, use an absolute path name. Suppose that the data directory is /var/mysql/data. If a file-valued option is given as a relative path name, it will be located under/var/mysql/data. If the value is an absolute path name, its location is as given by the path name.

You can also set the values of server system variables at server startup by using variable names as options. To assign a value to a server system variable, use an option of the form --var_name=value. For example, --sort_buffer_size=384M sets the sort_buffer_size variable to a value of 384MB.

When you assign a value to a variable, MySQL might automatically correct the value to stay within a given range, or adjust the value to the closest permissible value if only certain values are permitted.

To restrict the maximum value to which a system variable can be set at runtime with the SET statement, specify this maximum by using an option of the form --maximum-var_name=value at server startup.

You can change the values of most system variables at runtime with the SET statement. See Section 13.7.4.1, "SET Syntax for Variable Assignment".

Section 5.1.5, "Server System Variables", provides a full description for all variables, and additional information for setting them at server startup and runtime. For information on changing system variables, see Section 5.1.1, "Configuring the Server".

Command-Line Format

--help

Command-Line Format

--allow-suspicious-udfs

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--ansi

Command-Line Format

--basedir=dir_name

System Variable

Name

basedir

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Command-Line Format

--big-tables

System Variable

Name

big_tables

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--bind-address=addr

System Variable

Name

bind_address

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

string

Default

*

Command-Line Format

--binlog-format=format

System Variable

Name

binlog_format

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values (<= 5.7.6)

Type

enumeration

Default

STATEMENT

Valid Values

ROW

STATEMENT

MIXED

Permitted Values (>= 5.7.7)

Type

enumeration

Default

ROW

Valid Values

ROW

STATEMENT

MIXED

Deprecated

5.7.6

Command-Line Format

--bootstrap

Command-Line Format

--character-sets-dir=dir_name

System Variable

Name

character_sets_dir

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Command-Line Format

--character-set-client-handshake

Permitted Values

Type

boolean

Default

TRUE

Command-Line Format

--character-set-filesystem=name

System Variable

Name

character_set_filesystem

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

string

Default

binary

Command-Line Format

--character-set-server

System Variable

Name

character_set_server

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

string

Default

latin1

Command-Line Format

--chroot=dir_name

Permitted Values

Type

directory name

Command-Line Format

--collation-server

System Variable

Name

collation_server

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

string

Default

latin1_swedish_ci

Command-Line Format

--console

Platform Specific

Windows

Command-Line Format

--core-file

Permitted Values

Type

boolean

Default

OFF

Introduced

5.7.6

Command-Line Format

--daemonize[={OFF|ON}]

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--datadir=dir_name

System Variable

Name

datadir

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Command-Line Format

--debug[=debug_options]

System Variable

Name

debug

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values (Unix)

Type

string

Default

d:t:i:o,/tmp/mysqld.trace

Permitted Values (Windows)

Type

string

Default

d:t:i:O,\mysqld.trace

Command-Line Format

--debug-sync-timeout[=#]

Permitted Values

Type

integer

Removed

5.7.2

Command-Line Format

--default-authentication-plugin=plugin_name

Permitted Values

Type

enumeration

Default

mysql_native_password

Valid Values

mysql_native_password

sha256_password

Command-Line Format

--default-storage-engine=name

System Variable

Name

default_storage_engine

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

enumeration

Default

InnoDB

Command-Line Format

--default-time-zone=name

Permitted Values

Type

string

Command-Line Format

--delay-key-write[=name]

System Variable

Name

delay_key_write

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

enumeration

Default

ON

Valid Values

ON

OFF

ALL

Deprecated

5.7.6

Command-Line Format

--des-key-file=file_name

Introduced

5.7.17

Deprecated

5.7.17

Command-Line Format

--disable-partition-engine-check

Introduced

5.7.11

Command-Line Format

--early-plugin-load=plugin_list

Permitted Values (5.7.11)

Type

string

Default

keyring_file plugin library file name

Permitted Values (>= 5.7.12)

Type

string

Default

empty string

Command-Line Format

--enable-named-pipe

Platform Specific

Windows

Command-Line Format

--event-scheduler[=value]

System Variable

Name

event_scheduler

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

enumeration

Default

OFF

Valid Values

ON

OFF

DISABLED

Command-Line Format

--exit-info[=flags]

Permitted Values

Type

integer

Command-Line Format

--external-locking

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--flush

System Variable

Name

flush

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--gdb

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--general-log

System Variable

Name

general_log

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Deprecated

5.7.16

Command-Line Format

--ignore-db-dir

Permitted Values

Type

directory name

Introduced

5.7.6

Command-Line Format

--initialize

Permitted Values

Type

boolean

Default

OFF

Introduced

5.7.6

Command-Line Format

--initialize-insecure

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--init-file=file_name

System Variable

Name

init_file

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

file name

Command-Line Format

--install [service_name]

Platform Specific

Windows

Command-Line Format

--install-manual [service_name]

Platform Specific

Windows

Deprecated

5.6.1, by lc-messages-dir

Command-Line Format

--language=name

System Variable

Name

language

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Default

/usr/local/mysql/share/mysql/english/

Command-Line Format

--large-pages

System Variable

Name

large_pages

Variable Scope

Global

Dynamic Variable

No

Platform Specific

Linux

Permitted Values (Linux)

Type

boolean

Default

FALSE

Command-Line Format

--lc-messages=name

System Variable

Name

lc_messages

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

string

Default

en_US

Command-Line Format

--lc-messages-dir=dir_name

System Variable

Name

lc_messages_dir

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Command-Line Format

--local-service

Command-Line Format

--log-error[=file_name]

System Variable

Name

log_error

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

file name

Command-Line Format

--log-isam[=file_name]

Permitted Values

Type

file name

Command-Line Format

--log-output=name

System Variable

Name

log_output

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

set

Default

FILE

Valid Values

TABLE

FILE

NONE

Command-Line Format

--log-queries-not-using-indexes

System Variable

Name

log_queries_not_using_indexes

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--log-raw[=value]

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--log-short-format

Permitted Values

Type

boolean

Default

FALSE

Removed

5.7.1

Command-Line Format

--log-slow-admin-statements (5.7.0)

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--log-tc=file_name

Permitted Values

Type

file name

Default

tc.log

Command-Line Format

--log-tc-size=#

Permitted Values (32-bit platforms)

Type

integer

Default

24576

Max Value

4294967295

Permitted Values (64-bit platforms)

Type

integer

Default

24576

Max Value

18446744073709551615

Deprecated

5.7.2

Command-Line Format

--log-warnings[=#]

System Variable

Name

log_warnings

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values (32-bit platforms, <= 5.7.1)

Type

integer

Default

1

Min Value

0

Max Value

4294967295

Permitted Values (32-bit platforms, >= 5.7.2)

Type

integer

Default

2

Min Value

0

Max Value

4294967295

Permitted Values (64-bit platforms, <= 5.7.1)

Type

integer

Default

1

Min Value

0

Max Value

18446744073709551615

Permitted Values (64-bit platforms, >= 5.7.2)

Type

integer

Default

2

Min Value

0

Max Value

18446744073709551615

Command-Line Format

--low-priority-updates

System Variable

Name

low_priority_updates

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--min-examined-row-limit=#

System Variable

Name

min_examined_row_limit

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values (32-bit platforms)

Type

integer

Default

0

Min Value

0

Max Value

4294967295

Permitted Values (64-bit platforms)

Type

integer

Default

0

Min Value

0

Max Value

18446744073709551615

Command-Line Format

--memlock

Permitted Values

Type

boolean

Default

FALSE

  • Lock the mysqld process in memory. This option might help if you have a problem where the operating system is causing mysqld to swap to disk.
  • --memlock works on systems that support the mlockall() system call; this includes Solaris, most Linux distributions that use a 2.4 or higher kernel, and perhaps other Unix systems. On Linux systems, you can tell whether or not mlockall() (and thus this option) is supported by checking to see whether or not it is defined in the system mman.h file, like this:
  • shell> grep mlockall /usr/include/sys/mman.h
  • If mlockall() is supported, you should see in the output of the previous command something like the following:
  • extern int mlockall (int __flags) __THROW;
    • Important
    • Use of this option may require you to run the server as root, which, for reasons of security, is normally not a good idea. See Section 6.1.5, "How to Run MySQL as a Normal User".
    • On Linux and perhaps other systems, you can avoid the need to run the server as root by changing thelimits.conf file. See the notes regarding the memlock limit in Section 8.12.4.2, "Enabling Large Page Support".
    • You must not try to use this option on a system that does not support the mlockall() system call; if you do so,mysqld will very likely crash as soon as you try to start it.

Command-Line Format

--myisam-block-size=#

Permitted Values

Type

integer

Default

1024

Min Value

1024

Max Value

16384

Command-Line Format

--myisam-recover-options[=name]

Permitted Values

Type

enumeration

Default

OFF

Valid Values

OFF

DEFAULT

BACKUP

FORCE

QUICK

Option

Description

OFF

No recovery.

DEFAULT

Recovery without backup, forcing, or quick checking.

BACKUP

If the data file was changed during recovery, save a backup of the tbl_name.MYD file astbl_name-datetime.BAK.

FORCE

Run recovery even if we would lose more than one row from the .MYD file.

QUICK

Do not check the rows in the table if there are not any delete blocks.

Command-Line Format

--old-alter-table

System Variable

Name

old_alter_table

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--old-style-user-limits

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--open-files-limit=#

System Variable

Name

open_files_limit

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

integer

Default

5000, with possible adjustment

Min Value

0

Max Value

platform dependent

Deprecated

5.7.16

Command-Line Format

--partition

Disabled by

skip-partition

Permitted Values

Type

boolean

Default

ON

Command-Line Format

--pid-file=file_name

System Variable

Name

pid_file

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

file name

Command-Line Format

--plugin-load=plugin_list

Permitted Values

Type

string

Command-Line Format

--plugin-load-add=plugin_list

Permitted Values

Type

string

Command-Line Format

--port=#

System Variable

Name

port

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

integer

Default

3306

Min Value

0

Max Value

65535

Command-Line Format

--port-open-timeout=#

Permitted Values

Type

integer

Default

0

Command-Line Format

--remove [service_name]

Platform Specific

Windows

Command-Line Format

--safe-user-create

Permitted Values

Type

boolean

Default

FALSE

Deprecated

5.7.5

Command-Line Format

--secure-auth

System Variable

Name

secure_auth

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values (<= 5.7.4)

Type

boolean

Default

ON

Valid Values

OFF

ON

Permitted Values (>= 5.7.5)

Type

boolean

Default

ON

Valid Values

ON

Command-Line Format

--secure-file-priv=dir_name

System Variable

Name

secure_file_priv

Variable Scope

Global

Dynamic Variable

No

Permitted Values (<= 5.7.5)

Type

string

Default

empty

Valid Values

empty

dirname

Permitted Values (>= 5.7.6)

Type

string

Default

platform specific

Valid Values

empty

dirname

NULL

Command-Line Format

--shared-memory[={0,1}]

System Variable

Name

shared_memory

Variable Scope

Global

Dynamic Variable

No

Platform Specific

Windows

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--shared-memory-base-name=name

System Variable

Name

shared_memory_base_name

Variable Scope

Global

Dynamic Variable

No

Platform Specific

Windows

Permitted Values

Type

string

Default

MYSQL

Command-Line Format

--skip-event-scheduler

  

--disable-event-scheduler

Deprecated

5.7.16

Command-Line Format

--skip-partition

  

--disable-partition

Command-Line Format

--standalone

Platform Specific

Windows

Command-Line Format

--super-large-pages

Platform Specific

Solaris

Permitted Values (Solaris)

Type

boolean

Default

FALSE

Command-Line Format

--symbolic-links

Permitted Values

Type

boolean

Default

ON

Command-Line Format

--skip-show-database

System Variable

Name

skip_show_database

Variable Scope

Global

Dynamic Variable

No

Command-Line Format

--skip-stack-trace

Command-Line Format

--slow-query-log

System Variable

Name

slow_query_log

Variable Scope

Global

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--slow-start-timeout=#

Permitted Values (Windows)

Type

integer

Default

15000

Command-Line Format

--socket={file_name|pipe_name}

System Variable

Name

socket

Variable Scope

Global

Dynamic Variable

No

Permitted Values (Windows)

Type

string

Default

MySQL

Permitted Values (Other)

Type

string

Default

/tmp/mysql.sock

Command-Line Format

--sql-mode=name

System Variable

Name

sql_mode

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values (<= 5.7.4)

Type

set

Default

NO_ENGINE_SUBSTITUTION

Valid Values

ALLOW_INVALID_DATES

ANSI_QUOTES

ERROR_FOR_DIVISION_BY_ZERO

HIGH_NOT_PRECEDENCE

IGNORE_SPACE

NO_AUTO_CREATE_USER

NO_AUTO_VALUE_ON_ZERO

NO_BACKSLASH_ESCAPES

NO_DIR_IN_CREATE

NO_ENGINE_SUBSTITUTION

NO_FIELD_OPTIONS

NO_KEY_OPTIONS

NO_TABLE_OPTIONS

NO_UNSIGNED_SUBTRACTION

NO_ZERO_DATE

NO_ZERO_IN_DATE

ONLY_FULL_GROUP_BY

PAD_CHAR_TO_FULL_LENGTH

PIPES_AS_CONCAT

REAL_AS_FLOAT

STRICT_ALL_TABLES

STRICT_TRANS_TABLES

Permitted Values (>= 5.7.5, <= 5.7.6)

Type

set

Default

ONLY_FULL_GROUP_BY STRICT_TRANS_TABLES NO_ENGINE_SUBSTITUTION

Valid Values

ALLOW_INVALID_DATES

ANSI_QUOTES

ERROR_FOR_DIVISION_BY_ZERO

HIGH_NOT_PRECEDENCE

IGNORE_SPACE

NO_AUTO_CREATE_USER

NO_AUTO_VALUE_ON_ZERO

NO_BACKSLASH_ESCAPES

NO_DIR_IN_CREATE

NO_ENGINE_SUBSTITUTION

NO_FIELD_OPTIONS

NO_KEY_OPTIONS

NO_TABLE_OPTIONS

NO_UNSIGNED_SUBTRACTION

NO_ZERO_DATE

NO_ZERO_IN_DATE

ONLY_FULL_GROUP_BY

PAD_CHAR_TO_FULL_LENGTH

PIPES_AS_CONCAT

REAL_AS_FLOAT

STRICT_ALL_TABLES

STRICT_TRANS_TABLES

Permitted Values (5.7.7)

Type

set

Default

ONLY_FULL_GROUP_BY STRICT_TRANS_TABLES NO_AUTO_CREATE_USER NO_ENGINE_SUBSTITUTION

Valid Values

ALLOW_INVALID_DATES

ANSI_QUOTES

ERROR_FOR_DIVISION_BY_ZERO

HIGH_NOT_PRECEDENCE

IGNORE_SPACE

NO_AUTO_CREATE_USER

NO_AUTO_VALUE_ON_ZERO

NO_BACKSLASH_ESCAPES

NO_DIR_IN_CREATE

NO_ENGINE_SUBSTITUTION

NO_FIELD_OPTIONS

NO_KEY_OPTIONS

NO_TABLE_OPTIONS

NO_UNSIGNED_SUBTRACTION

NO_ZERO_DATE

NO_ZERO_IN_DATE

ONLY_FULL_GROUP_BY

PAD_CHAR_TO_FULL_LENGTH

PIPES_AS_CONCAT

REAL_AS_FLOAT

STRICT_ALL_TABLES

STRICT_TRANS_TABLES

Permitted Values (>= 5.7.8)

Type

set

Default

ONLY_FULL_GROUP_BY STRICT_TRANS_TABLES NO_ZERO_IN_DATE NO_ZERO_DATE ERROR_FOR_DIVISION_BY_ZERO NO_AUTO_CREATE_USER NO_ENGINE_SUBSTITUTION

Valid Values

ALLOW_INVALID_DATES

ANSI_QUOTES

ERROR_FOR_DIVISION_BY_ZERO

HIGH_NOT_PRECEDENCE

IGNORE_SPACE

NO_AUTO_CREATE_USER

NO_AUTO_VALUE_ON_ZERO

NO_BACKSLASH_ESCAPES

NO_DIR_IN_CREATE

NO_ENGINE_SUBSTITUTION

NO_FIELD_OPTIONS

NO_KEY_OPTIONS

NO_TABLE_OPTIONS

NO_UNSIGNED_SUBTRACTION

NO_ZERO_DATE

NO_ZERO_IN_DATE

ONLY_FULL_GROUP_BY

PAD_CHAR_TO_FULL_LENGTH

PIPES_AS_CONCAT

REAL_AS_FLOAT

STRICT_ALL_TABLES

STRICT_TRANS_TABLES

Command-Line Format

--sysdate-is-now

Permitted Values

Type

boolean

Default

FALSE

Command-Line Format

--tc-heuristic-recover=name

Permitted Values

Type

enumeration

Default

COMMIT

Valid Values

COMMIT

ROLLBACK

Deprecated

5.7.18

Command-Line Format

--temp-pool

Permitted Values (Linux)

Type

boolean

Default

TRUE

Permitted Values (Other)

Type

boolean

Default

FALSE

Command-Line Format

--transaction-isolation=name

System Variable (>= 5.7.20)

Name

transaction_isolation

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

enumeration

Default

REPEATABLE-READ

Valid Values

READ-UNCOMMITTED

READ-COMMITTED

REPEATABLE-READ

SERIALIZABLE

Command-Line Format

--transaction-read-only

System Variable (>= 5.7.20)

Name

transaction_read_only

Variable Scope

Global, Session

Dynamic Variable

Yes

Permitted Values

Type

boolean

Default

OFF

Command-Line Format

--tmpdir=dir_name

System Variable

Name

tmpdir

Variable Scope

Global

Dynamic Variable

No

Permitted Values

Type

directory name

Command-Line Format

--user=name

Permitted Values

Type

string

5.1.5 Server System Variables

The MySQL server maintains many system variables that indicate how it is configured. Each system variable has a default value. System variables can be set at server startup using options on the command line or in an option file. Most of them can be changed dynamically at runtime using the SET statement, which enables you to modify operation of the server without having to stop and restart it. Setting the global value of a system variable requires the SUPER privilege. For some system variables, setting the session value also requires the SUPER privilege; if so, it is indicated in the variable description. You can also use system variable values in expressions.

There are several ways to see the names and values of system variables:

This section includes a table that lists all system variables and following the table provides a description of each one. Variables with no version indicated are present in all MySQL 5.7 releases. For more information about manipulation of system variables, see Section 5.1.6, "Using System Variables".

Table 5.2 System Variable Summary

Name

Cmd-Line

Option File

System Var

Var Scope

Dynamic

audit_log_buffer_size

Yes

Yes

Yes

Global

No

audit_log_connection_policy

Yes

Yes

Yes

Global

Yes

audit_log_current_session

  

  

Yes

Both

No

audit_log_exclude_accounts

Yes

Yes

Yes

Global

Yes

audit_log_file

Yes

Yes

Yes

Global

No

audit_log_filter_id

  

  

Yes

Both

No

audit_log_flush

  

  

Yes

Global

Yes

audit_log_format

Yes

Yes

Yes

Global

No

audit_log_include_accounts

Yes

Yes

Yes

Global

Yes

audit_log_policy

Yes

Yes

Yes

Global

No

audit_log_rotate_on_size

Yes

Yes

Yes

Global

Yes

audit_log_statement_policy

Yes

Yes

Yes

Global

Yes

audit_log_strategy

Yes

Yes

Yes

Global

No

authentication_ldap_sasl_auth_method_name

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_bind_base_dn

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_bind_root_dn

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_bind_root_pwd

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_ca_path

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_group_search_attr

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_init_pool_size

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_log_status

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_max_pool_size

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_server_host

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_server_port

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_tls

Yes

Yes

Yes

Global

Yes

authentication_ldap_sasl_user_search_attr

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_auth_method_name

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_bind_base_dn

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_bind_root_dn

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_bind_root_pwd

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_ca_path

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_group_search_attr

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_init_pool_size

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_log_status

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_max_pool_size

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_server_host

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_server_port

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_tls

Yes

Yes

Yes

Global

Yes

authentication_ldap_simple_user_search_attr

Yes

Yes

Yes

Global

Yes

auto_generate_certs

Yes

Yes

Yes

Global

No

auto_increment_increment

  

  

Yes

Both

Yes

auto_increment_offset

  

  

Yes

Both

Yes

autocommit

Yes

Yes

Yes

Both

Yes

automatic_sp_privileges

  

  

Yes

Global

Yes

avoid_temporal_upgrade

Yes

Yes

Yes

Global

Yes

back_log

  

  

Yes

Global

No

basedir

Yes

Yes

Yes

Global

No

big-tables

Yes

Yes

  

  

Yes

Variablebig_tables

  

  

Yes

Both

Yes

bind-address

Yes

Yes

  

  

No

Variablebind_address

  

  

Yes

Global

No

binlog_cache_size

Yes

Yes

Yes

Global

Yes

binlog_checksum

  

  

Yes

Global

Yes

binlog_direct_non_transactional_updates

Yes

Yes

Yes

Both

Yes

binlog_error_action

Yes

Yes

Yes

Both

Yes

binlog-format

Yes

Yes

  

  

Yes

Variablebinlog_format

  

  

Yes

Both

Yes

binlog_group_commit_sync_delay

Yes

Yes

Yes

Global

Yes

binlog_group_commit_sync_no_delay_count

Yes

Yes

Yes

Global

Yes

binlog_gtid_simple_recovery

Yes

Yes

Yes

Global

No

binlog_max_flush_queue_time

  

  

Yes

Global

Yes

binlog_order_commits

  

  

Yes

Global

Yes

binlog_row_image

Yes

Yes

Yes

Both

Yes

binlog_rows_query_log_events

  

  

Yes

Both

Yes

binlog_stmt_cache_size

Yes

Yes

Yes

Global

Yes

binlogging_impossible_mode

Yes

Yes

Yes

Both

Yes

block_encryption_mode

Yes

Yes

Yes

Both

Yes

bulk_insert_buffer_size

Yes

Yes

Yes

Both

Yes

character_set_client

  

  

Yes

Both

Yes

character_set_connection

  

  

Yes

Both

Yes

character_set_database[a]

  

  

Yes

Both

Yes

character-set-filesystem

Yes

Yes

  

  

Yes

Variablecharacter_set_filesystem

  

  

Yes

Both

Yes

character_set_results

  

  

Yes

Both

Yes

character-set-server

Yes

Yes

  

  

Yes

Variablecharacter_set_server

  

  

Yes

Both

Yes

character_set_system

  

  

Yes

Global

No

character-sets-dir

Yes

Yes

  

  

No

Variablecharacter_sets_dir

  

  

Yes

Global

No

check_proxy_users

Yes

Yes

Yes

Global

Yes

collation_connection

  

  

Yes

Both

Yes

collation_database[b]

  

  

Yes

Both

Yes

collation-server

Yes

Yes

  

  

Yes

Variablecollation_server

  

  

Yes

Both

Yes

completion_type

Yes

Yes

Yes

Both

Yes

concurrent_insert

Yes

Yes

Yes

Global

Yes

connect_timeout

Yes

Yes

Yes

Global

Yes

connection_control_failed_connections_threshold

Yes

Yes

Yes

Global

Yes

connection_control_max_connection_delay

Yes

Yes

Yes

Global

Yes

connection_control_min_connection_delay

Yes

Yes

Yes

Global

Yes

core_file

  

  

Yes

Global

No

daemon_memcached_enable_binlog

Yes

Yes

Yes

Global

No

daemon_memcached_engine_lib_name

Yes

Yes

Yes

Global

No

daemon_memcached_engine_lib_path

Yes

Yes

Yes

Global

No

daemon_memcached_option

Yes

Yes

Yes

Global

No

daemon_memcached_r_batch_size

Yes

Yes

Yes

Global

No

daemon_memcached_w_batch_size

Yes

Yes

Yes

Global

No

datadir

Yes

Yes

Yes

Global

No

date_format

  

  

Yes

Global

No

datetime_format

  

  

Yes

Global

No

debug

Yes

Yes

Yes

Both

Yes

debug_sync

  

  

Yes

Session

Yes

default_authentication_plugin

Yes

Yes

Yes

Global

No

default_password_lifetime

Yes

Yes

Yes

Global

Yes

default-storage-engine

Yes

Yes

  

  

Yes

Variabledefault_storage_engine

  

  

Yes

Both

Yes

default_tmp_storage_engine

Yes

Yes

Yes

Both

Yes

default_week_format

Yes

Yes

Yes

Both

Yes

delay-key-write

Yes

Yes

  

  

Yes

Variabledelay_key_write

  

  

Yes

Global

Yes

delayed_insert_limit

Yes

Yes

Yes

Global

Yes

delayed_insert_timeout

Yes

Yes

Yes

Global

Yes

delayed_queue_size

Yes

Yes

Yes

Global

Yes

disabled_storage_engines

Yes

Yes

Yes

Global

No

disconnect_on_expired_password

Yes

Yes

Yes

Session

No

div_precision_increment

Yes

Yes

Yes

Both

Yes

end_markers_in_json

  

  

Yes

Both

Yes

enforce-gtid-consistency

Yes

Yes

Yes

Global

Varies

enforce_gtid_consistency

Yes

Yes

Yes

Global

Varies

eq_range_index_dive_limit

  

  

Yes

Both

Yes

error_count

  

  

Yes

Session

No

event-scheduler

Yes

Yes

  

  

Yes

Variableevent_scheduler

  

  

Yes

Global

Yes

executed_gtids_compression_period

  

  

Yes

Global

Yes

expire_logs_days

Yes

Yes

Yes

Global

Yes

explicit_defaults_for_timestamp

Yes

Yes

Yes

Both

Yes

external_user

  

  

Yes

Session

No

flush

Yes

Yes

Yes

Global

Yes

flush_time

Yes

Yes

Yes

Global

Yes

foreign_key_checks

  

  

Yes

Both

Yes

ft_boolean_syntax

Yes

Yes

Yes

Global

Yes

ft_max_word_len

Yes

Yes

Yes

Global

No

ft_min_word_len

Yes

Yes

Yes

Global

No

ft_query_expansion_limit

Yes

Yes

Yes

Global

No

ft_stopword_file

Yes

Yes

Yes

Global

No

general-log

Yes

Yes

  

  

Yes

Variablegeneral_log

  

  

Yes

Global

Yes

general_log_file

Yes

Yes

Yes

Global

Yes

group_concat_max_len

Yes

Yes

Yes

Both

Yes

group_replication_allow_local_disjoint_gtids_join

Yes

Yes

Yes

Global

Yes

group_replication_allow_local_lower_version_join

Yes

Yes

Yes

Global

Yes

group_replication_auto_increment_increment

Yes

Yes

Yes

Global

Yes

group_replication_bootstrap_group

Yes

Yes

Yes

Global

Yes

group_replication_components_stop_timeout

Yes

Yes

Yes

Global

Yes

group_replication_compression_threshold

Yes

Yes

Yes

Global

Yes

group_replication_enforce_update_everywhere_checks

Yes

Yes

Yes

Global

Yes

group_replication_flow_control_applier_threshold

Yes

Yes

Yes

Global

Yes

group_replication_flow_control_certifier_threshold

Yes

Yes

Yes

Global

Yes

group_replication_flow_control_mode

Yes

Yes

Yes

Global

Yes

group_replication_force_members

Yes

Yes

Yes

Global

Yes

group_replication_group_name

Yes

Yes

Yes

Global

Yes

group_replication_group_seeds

Yes

Yes

Yes

Global

Yes

group_replication_gtid_assignment_block_size

Yes

Yes

Yes

Global

Yes

group_replication_ip_whitelist

Yes

Yes

Yes

Global

Yes

group_replication_local_address

Yes

Yes

Yes

Global

Yes

group_replication_poll_spin_loops

Yes

Yes

Yes

Global

Yes

group_replication_recovery_complete_at

Yes

Yes

Yes

Global

Yes

group_replication_recovery_reconnect_interval

Yes

Yes

Yes

Global

Yes

group_replication_recovery_retry_count

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_ca

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_capath

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_cert

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_cipher

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_crl

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_crlpath

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_key

Yes

Yes

Yes

Global

Yes

group_replication_recovery_ssl_verify_server_cert

Yes

Yes

Yes

Global

Yes

group_replication_recovery_use_ssl

Yes

Yes

Yes

Global

Yes

group_replication_single_primary_mode

Yes

Yes

Yes

Global

Yes

group_replication_ssl_mode

Yes

Yes

Yes

Global

Yes

group_replication_start_on_boot

Yes

Yes

Yes

Global

Yes

group_replication_transaction_size_limit

Yes

Yes

Yes

Global

Yes

group_replication_unreachable_majority_timeout

Yes

Yes

Yes

Global

Yes

gtid_executed

  

  

Yes

Varies

No

gtid_executed_compression_period

  

  

Yes

Global

Yes

gtid-mode

Yes

Yes

  

  

Varies

Variablegtid_mode

  

  

Yes

Global

Varies

gtid_mode

  

  

Yes

Global

Varies

gtid_next

  

  

Yes

Session

Yes

gtid_owned

  

  

Yes

Both

No

gtid_purged

  

  

Yes

Global

Yes

have_compress

  

  

Yes

Global

No

have_crypt

  

  

Yes

Global

No

have_dynamic_loading

  

  

Yes

Global

No

have_geometry

  

  

Yes

Global

No

have_openssl

  

  

Yes

Global

No

have_profiling

  

  

Yes

Global

No

have_query_cache

  

  

Yes

Global

No

have_rtree_keys

  

  

Yes

Global

No

have_ssl

  

  

Yes

Global

No

have_statement_timeout

  

  

Yes

Global

No

have_symlink

  

  

Yes

Global

No

host_cache_size

  

  

Yes

Global

Yes

hostname

  

  

Yes

Global

No

identity

  

  

Yes

Session

Yes

ignore-builtin-innodb

Yes

Yes

  

  

No

Variableignore_builtin_innodb

  

  

Yes

Global

No

ignore_db_dirs

  

  

Yes

Global

No

init_connect

Yes

Yes

Yes

Global

Yes

init-file

Yes

Yes

  

  

No

Variableinit_file

  

  

Yes

Global

No

init_slave

Yes

Yes

Yes

Global

Yes

innodb_adaptive_flushing

Yes

Yes

Yes

Global

Yes

innodb_adaptive_flushing_lwm

Yes

Yes

Yes

Global

Yes

innodb_adaptive_hash_index

Yes

Yes

Yes

Global

Yes

innodb_adaptive_hash_index_parts

Yes

Yes

Yes

Global

No

innodb_adaptive_max_sleep_delay

Yes

Yes

Yes

Global

Yes

innodb_additional_mem_pool_size

Yes

Yes

Yes

Global

No

innodb_api_bk_commit_interval

Yes

Yes

Yes

Global

Yes

innodb_api_disable_rowlock

Yes

Yes

Yes

Global

No

innodb_api_enable_binlog

Yes

Yes

Yes

Global

No

innodb_api_enable_mdl

Yes

Yes

Yes

Global

No

innodb_api_trx_level

Yes

Yes

Yes

Global

Yes

innodb_autoextend_increment

Yes

Yes

Yes

Global

Yes

innodb_autoinc_lock_mode

Yes

Yes

Yes

Global

No

innodb_background_drop_list_empty

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_chunk_size

Yes

Yes

Yes

Global

No

innodb_buffer_pool_dump_at_shutdown

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_dump_now

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_dump_pct

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_filename

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_instances

Yes

Yes

Yes

Global

No

innodb_buffer_pool_load_abort

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_load_at_startup

Yes

Yes

Yes

Global

No

innodb_buffer_pool_load_now

Yes

Yes

Yes

Global

Yes

innodb_buffer_pool_size

Yes

Yes

Yes

Global

Varies

innodb_change_buffer_max_size

Yes

Yes

Yes

Global

Yes

innodb_change_buffering

Yes

Yes

Yes

Global

Yes

innodb_change_buffering_debug

Yes

Yes

Yes

Global

Yes

innodb_checksum_algorithm

Yes

Yes

Yes

Global

Yes

innodb_checksums

Yes

Yes

Yes

Global

No

innodb_cmp_per_index_enabled

Yes

Yes

Yes

Global

Yes

innodb_commit_concurrency

Yes

Yes

Yes

Global

Yes

innodb_compress_debug

Yes

Yes

Yes

Global

Yes

innodb_compression_failure_threshold_pct

Yes

Yes

Yes

Global

Yes

innodb_compression_level

Yes

Yes

Yes

Global

Yes

innodb_compression_pad_pct_max

Yes

Yes

Yes

Global

Yes

innodb_concurrency_tickets

Yes

Yes

Yes

Global

Yes

innodb_create_intrinsic

Yes

Yes

Yes

Session

Yes

innodb_data_file_path

Yes

Yes

Yes

Global

No

innodb_data_home_dir

Yes

Yes

Yes

Global

No

innodb_deadlock_detect

Yes

Yes

Yes

Global

Yes

innodb_default_row_format

Yes

Yes

Yes

Global

Yes

innodb_disable_resize_buffer_pool_debug

Yes

Yes

Yes

Global

Yes

innodb_disable_sort_file_cache

Yes

Yes

Yes

Global

Yes

innodb_doublewrite

Yes

Yes

Yes

Global

No

innodb_fast_shutdown

Yes

Yes

Yes

Global

Yes

innodb_fil_make_page_dirty_debug

Yes

Yes

Yes

Global

Yes

innodb_file_format

Yes

Yes

Yes

Global

Yes

innodb_file_format_check

Yes

Yes

Yes

Global

No

innodb_file_format_max

Yes

Yes

Yes

Global

Yes

innodb_file_per_table

Yes

Yes

Yes

Global

Yes

innodb_fill_factor

Yes

Yes

Yes

Global

Yes

innodb_flush_log_at_timeout

  

  

Yes

Global

Yes

innodb_flush_log_at_trx_commit

Yes

Yes

Yes

Global

Yes

innodb_flush_method

Yes

Yes

Yes

Global

No

innodb_flush_neighbors

Yes

Yes

Yes

Global

Yes

innodb_flush_sync

Yes

Yes

Yes

Global

Yes

innodb_flushing_avg_loops

Yes

Yes

Yes

Global

Yes

innodb_force_load_corrupted

Yes

Yes

Yes

Global

No

innodb_force_recovery

Yes

Yes

Yes

Global

No

innodb_ft_aux_table

Yes

Yes

Yes

Global

Yes

innodb_ft_cache_size

Yes

Yes

Yes

Global

No

innodb_ft_enable_diag_print

Yes

Yes

Yes

Global

Yes

innodb_ft_enable_stopword

Yes

Yes

Yes

Global

Yes

innodb_ft_max_token_size

Yes

Yes

Yes

Global

No

innodb_ft_min_token_size

Yes

Yes

Yes

Global

No

innodb_ft_num_word_optimize

Yes

Yes

Yes

Global

Yes

innodb_ft_result_cache_limit

Yes

Yes

Yes

Global

Yes

innodb_ft_server_stopword_table

Yes

Yes

Yes

Global

Yes

innodb_ft_sort_pll_degree

Yes

Yes

Yes

Global

No

innodb_ft_total_cache_size

Yes

Yes

Yes

Global

No

innodb_ft_user_stopword_table

Yes

Yes

Yes

Both

Yes

innodb_io_capacity

Yes

Yes

Yes

Global

Yes

innodb_io_capacity_max

Yes

Yes

Yes

Global

Yes

innodb_large_prefix

Yes

Yes

Yes

Global

Yes

innodb_limit_optimistic_insert_debug

Yes

Yes

Yes

Global

Yes

innodb_lock_wait_timeout

Yes

Yes

Yes

Both

Yes

innodb_locks_unsafe_for_binlog

Yes

Yes

Yes

Global

No

innodb_log_buffer_size

Yes

Yes

Yes

Global

No

innodb_log_checksum_algorithm

Yes

Yes

Yes

Global

Yes

innodb_log_checksums

Yes

Yes

Yes

Global

Yes

innodb_log_compressed_pages

Yes

Yes

Yes

Global

Yes

innodb_log_file_size

Yes

Yes

Yes

Global

No

innodb_log_files_in_group

Yes

Yes

Yes

Global

No

innodb_log_group_home_dir

Yes

Yes

Yes

Global

No

innodb_log_write_ahead_size

Yes

Yes

Yes

Global

Yes

innodb_lru_scan_depth

Yes

Yes

Yes

Global

Yes

innodb_max_dirty_pages_pct

Yes

Yes

Yes

Global

Yes

innodb_max_dirty_pages_pct_lwm

Yes

Yes

Yes

Global

Yes

innodb_max_purge_lag

Yes

Yes

Yes

Global

Yes

innodb_max_purge_lag_delay

Yes

Yes

Yes

Global

Yes

innodb_max_undo_log_size

Yes

Yes

Yes

Global

Yes

innodb_merge_threshold_set_all_debug

Yes

Yes

Yes

Global

Yes

innodb_monitor_disable

Yes

Yes

Yes

Global

Yes

innodb_monitor_enable

Yes

Yes

Yes

Global

Yes

innodb_monitor_reset

Yes

Yes

Yes

Global

Yes

innodb_monitor_reset_all

Yes

Yes

Yes

Global

Yes

innodb_numa_interleave

Yes

Yes

Yes

Global

No

innodb_old_blocks_pct

Yes

Yes

Yes

Global

Yes

innodb_old_blocks_time

Yes

Yes

Yes

Global

Yes

innodb_online_alter_log_max_size

Yes

Yes

Yes

Global

Yes

innodb_open_files

Yes

Yes

Yes

Global

No

innodb_optimize_fulltext_only

Yes

Yes

Yes

Global

Yes

innodb_optimize_point_storage

Yes

Yes

Yes

Session

Yes

innodb_page_cleaners

Yes

Yes

Yes

Global

No

innodb_page_size

Yes

Yes

Yes

Global

No

innodb_print_all_deadlocks

Yes

Yes

Yes

Global

Yes

innodb_purge_batch_size

Yes

Yes

Yes

Global

Yes

innodb_purge_rseg_truncate_frequency

Yes

Yes

Yes

Global

Yes

innodb_purge_threads

Yes

Yes

Yes

Global

No

innodb_random_read_ahead

Yes

Yes

Yes

Global

Yes

innodb_read_ahead_threshold

Yes

Yes

Yes

Global

Yes

innodb_read_io_threads

Yes

Yes

Yes

Global

No

innodb_read_only

Yes

Yes

Yes

Global

No

innodb_replication_delay

Yes

Yes

Yes

Global

Yes

innodb_rollback_on_timeout

Yes

Yes

Yes

Global

No

innodb_rollback_segments

Yes

Yes

Yes

Global

Yes

innodb_saved_page_number_debug

Yes

Yes

Yes

Global

Yes

innodb_sort_buffer_size

Yes

Yes

Yes

Global

No

innodb_spin_wait_delay

Yes

Yes

Yes

Global

Yes

innodb_stats_auto_recalc

Yes

Yes

Yes

Global

Yes

innodb_stats_include_delete_marked

Yes

Yes

Yes

Global

Yes

innodb_stats_method

Yes

Yes

Yes

Global

Yes

innodb_stats_on_metadata

Yes

Yes

Yes

Global

Yes

innodb_stats_persistent

Yes

Yes

Yes

Global

Yes

innodb_stats_persistent_sample_pages

Yes

Yes

Yes

Global

Yes

innodb_stats_sample_pages

Yes

Yes

Yes

Global

Yes

innodb_stats_transient_sample_pages

Yes

Yes

Yes

Global

Yes

innodb_status_output

Yes

Yes

Yes

Global

Yes

innodb_status_output_locks

Yes

Yes

Yes

Global

Yes

innodb_strict_mode

Yes

Yes

Yes

Both

Yes

innodb_support_xa

Yes

Yes

Yes

Both

Yes

innodb_sync_array_size

Yes

Yes

Yes

Global

No

innodb_sync_debug

Yes

Yes

Yes

Global

No

innodb_sync_spin_loops

Yes

Yes

Yes

Global

Yes

innodb_table_locks

Yes

Yes

Yes

Both

Yes

innodb_temp_data_file_path

Yes

Yes

Yes

Global

No

innodb_thread_concurrency

Yes

Yes

Yes

Global

Yes

innodb_thread_sleep_delay

Yes

Yes

Yes

Global

Yes

innodb_tmpdir

Yes

Yes

Yes

Both

Yes

innodb_trx_purge_view_update_only_debug

Yes

Yes

Yes

Global

Yes

innodb_trx_rseg_n_slots_debug

Yes

Yes

Yes

Global

Yes

innodb_undo_directory

Yes

Yes

Yes

Global

No

innodb_undo_log_truncate

Yes

Yes

Yes

Global

Yes

innodb_undo_logs

Yes

Yes

Yes

Global

Yes

innodb_undo_tablespaces

Yes

Yes

Yes

Global

No

innodb_use_native_aio

Yes

Yes

Yes

Global

No

innodb_use_sys_malloc

Yes

Yes

Yes

Global

No

innodb_version

  

  

Yes

Global

No

innodb_write_io_threads

Yes

Yes

Yes

Global

No

insert_id

  

  

Yes

Session

Yes

interactive_timeout

Yes

Yes

Yes

Both

Yes

internal_tmp_disk_storage_engine

Yes

Yes

Yes

Global

Yes

join_buffer_size

Yes

Yes

Yes

Both

Yes

keep_files_on_create

Yes

Yes

Yes

Both

Yes

key_buffer_size

Yes

Yes

Yes

Global

Yes

key_cache_age_threshold

Yes

Yes

Yes

Global

Yes

key_cache_block_size

Yes

Yes

Yes

Global

Yes

key_cache_division_limit

Yes

Yes

Yes

Global

Yes

keyring_aws_cmk_id

Yes

Yes

Yes

Global

Yes

keyring_aws_conf_file

Yes

Yes

Yes

Global

No

keyring_aws_data_file

Yes

Yes

Yes

Global

No

keyring_file_data

Yes

Yes

Yes

Global

Yes

keyring_okv_conf_dir

Yes

Yes

Yes

Global

Yes

language

Yes

Yes

Yes

Global

No

large_files_support

  

  

Yes

Global

No

large_page_size

  

  

Yes

Global

No

large-pages

Yes

Yes

  

  

No

Variablelarge_pages

  

  

Yes

Global

No

last_insert_id

  

  

Yes

Session

Yes

lc-messages

Yes

Yes

  

  

Yes

Variablelc_messages

  

  

Yes

Both

Yes

lc-messages-dir

Yes

Yes

  

  

No

Variablelc_messages_dir

  

  

Yes

Global

No

lc_time_names

  

  

Yes

Both

Yes

license

  

  

Yes

Global

No

local_infile

  

  

Yes

Global

Yes

lock_wait_timeout

Yes

Yes

Yes

Both

Yes

locked_in_memory

  

  

Yes

Global

No

log_backward_compatible_user_definitions

Yes

Yes

Yes

Global

Yes

log-bin

Yes

Yes

Yes

Global

No

log_bin

  

  

Yes

Global

No

log_bin_basename

  

  

Yes

Global

No

log_bin_index

  

  

Yes

Global

No

log-bin-trust-function-creators

Yes

Yes

  

  

Yes

Variablelog_bin_trust_function_creators

  

  

Yes

Global

Yes

log-bin-use-v1-row-events

Yes

Yes

  

  

No

Variablelog_bin_use_v1_row_events

  

  

Yes

Global

No

log_bin_use_v1_row_events

Yes

Yes

Yes

Global

No

log_builtin_as_identified_by_password

Yes

Yes

Yes

Global

Yes

log-error

Yes

Yes

  

  

No

Variablelog_error

  

  

Yes

Global

No

log_error_verbosity

Yes

Yes

Yes

Global

Yes

log-output

Yes

Yes

  

  

Yes

Variablelog_output

  

  

Yes

Global

Yes

log-queries-not-using-indexes

Yes

Yes

  

  

Yes

Variablelog_queries_not_using_indexes

  

  

Yes

Global

Yes

log-slave-updates

Yes

Yes

  

  

No

Variablelog_slave_updates

  

  

Yes

Global

No

log_slave_updates

Yes

Yes

Yes

Global

No

log_slow_admin_statements

  

  

Yes

Global

Yes

log_slow_slave_statements

  

  

Yes

Global

Yes

log_statements_unsafe_for_binlog

  

  

Yes

Global

Yes

log_syslog

Yes

Yes

Yes

Global

Yes

log_syslog_facility

Yes

Yes

Yes

Global

Yes

log_syslog_include_pid

Yes

Yes

Yes

Global

Yes

log_syslog_tag

Yes

Yes

Yes

Global

Yes

log_throttle_queries_not_using_indexes

  

  

Yes

Global

Yes

log_timestamps

Yes

Yes

Yes

Global

Yes

log-warnings

Yes

Yes

  

  

Yes

Variablelog_warnings

  

  

Yes

Global

Yes

long_query_time

Yes

Yes

Yes

Both

Yes

low-priority-updates

Yes

Yes

  

  

Yes

Variablelow_priority_updates

  

  

Yes

Both

Yes

lower_case_file_system

  

  

Yes

Global

No

lower_case_table_names

Yes

Yes

Yes

Global

No

master_info_repository

Yes

Yes

Yes

Global

Yes

master_verify_checksum

  

  

Yes

Global

Yes

max_allowed_packet

Yes

Yes

Yes

Both

Yes

max_binlog_cache_size

Yes

Yes

Yes

Global

Yes

max_binlog_size

Yes

Yes

Yes

Global

Yes

max_binlog_stmt_cache_size

Yes

Yes

Yes

Global

Yes

max_connect_errors

Yes

Yes

Yes

Global

Yes

max_connections

Yes

Yes

Yes

Global

Yes

max_delayed_threads

Yes

Yes

Yes

Both

Yes

max_digest_length

Yes

Yes

Yes

Global

No

max_error_count

Yes

Yes

Yes

Both

Yes

max_execution_time

Yes

Yes

Yes

Both

Yes

max_heap_table_size

Yes

Yes

Yes

Both

Yes

max_insert_delayed_threads

  

  

Yes

Both

Yes

max_join_size

Yes

Yes

Yes

Both

Yes

max_length_for_sort_data

Yes

Yes

Yes

Both

Yes

max_points_in_geometry

Yes

Yes

Yes

Global

Yes

max_prepared_stmt_count

Yes

Yes

Yes

Global

Yes

max_relay_log_size

Yes

Yes

Yes

Global

Yes

max_seeks_for_key

Yes

Yes

Yes

Both

Yes

max_sort_length

Yes

Yes

Yes

Both

Yes

max_sp_recursion_depth

Yes

Yes

Yes

Both

Yes

max_statement_time

  

  

Yes

Both

Yes

max_tmp_tables

  

  

Yes

Both

Yes

max_user_connections

Yes

Yes

Yes

Both

Yes

max_write_lock_count

Yes

Yes

Yes

Global

Yes

mecab_rc_file

Yes

Yes

Yes

Global

No

metadata_locks_cache_size

  

  

Yes

Global

No

metadata_locks_hash_instances

  

  

Yes

Global

No

min-examined-row-limit

Yes

Yes

Yes

Both

Yes

multi_range_count

Yes

Yes

Yes

Both

Yes

myisam_data_pointer_size

Yes

Yes

Yes

Global

Yes

myisam_max_sort_file_size

Yes

Yes

Yes

Global

Yes

myisam_mmap_size

Yes

Yes

Yes

Global

No

myisam_recover_options

  

  

Yes

Global

No

myisam_repair_threads

Yes

Yes

Yes

Both

Yes

myisam_sort_buffer_size

Yes

Yes

Yes

Both

Yes

myisam_stats_method

Yes

Yes

Yes

Both

Yes

myisam_use_mmap

Yes

Yes

Yes

Global

Yes

mysql_firewall_mode

Yes

Yes

Yes

Global

Yes

mysql_firewall_trace

Yes

Yes

Yes

Global

Yes

mysql_native_password_proxy_users

Yes

Yes

Yes

Global

Yes

mysqlx_bind_address

Yes

Yes

Yes

Global

No

mysqlx_connect_timeout

Yes

Yes

Yes

Global

Yes

mysqlx_max_connections

Yes

Yes

Yes

Global

Yes

mysqlx_port

Yes

Yes

Yes

Global

No

mysqlx_port_open_timeout

Yes

Yes

Yes

Global

No

mysqlx-socket

Yes

Yes

Yes

Global

No

mysqlx_socket

Yes

Yes

Yes

Global

No

mysqlx_ssl

Yes

Yes

Yes

Global

No

mysqlx_ssl_ca

Yes

Yes

Yes

Global

No

mysqlx_ssl_capath

Yes

Yes

Yes

Global

No

mysqlx_ssl_cert

Yes

Yes

Yes

Global

No

mysqlx_ssl_crl

Yes

Yes

Yes

Global

No

mysqlx_ssl_crlpath

Yes

Yes

Yes

Global

No

mysqlx_ssl_key

Yes

Yes

Yes

Global

No

named_pipe

  

  

Yes

Global

No

ndb-allow-copying-alter-table

Yes

Yes

Yes

Both

Yes

ndb_autoincrement_prefetch_sz

Yes

Yes

Yes

Both

Yes

ndb-batch-size

Yes

Yes

Yes

Global

No

ndb-blob-read-batch-bytes

Yes

Yes

Yes

Both

Yes

ndb-blob-write-batch-bytes

Yes

Yes

Yes

Both

Yes

ndb_cache_check_time

Yes

Yes

Yes

Global

Yes

ndb_clear_apply_status

Yes

  

Yes

Global

Yes

ndb-cluster-connection-pool

Yes

Yes

Yes

Global

No

ndb-cluster-connection-pool-nodeids

Yes

Yes

Yes

Global

No

ndb_data_node_neighbour

Yes

Yes

Yes

Global

Yes

ndb-default-column-format

Yes

Yes

  

  

Yes

Variablendb_default_column_format

  

  

Yes

Global

Yes

ndb_default_column_format

Yes

Yes

Yes

Global

Yes

ndb-deferred-constraints

Yes

Yes

  

  

Yes

Variablendb_deferred_constraints

  

  

Yes

Both

Yes

ndb_deferred_constraints

Yes

Yes

Yes

Both

Yes

ndb-distribution

Yes

Yes

  

  

Yes

Variablendb_distribution

  

  

Yes

Global

Yes

ndb_distribution

Yes

Yes

Yes

Global

Yes

ndb_eventbuffer_free_percent

Yes

Yes

Yes

Global

Yes

ndb_eventbuffer_max_alloc

Yes

Yes

Yes

Global

Yes

ndb_extra_logging

Yes

Yes

Yes

Global

Yes

ndb_force_send

Yes

Yes

Yes

Both

Yes

ndb_fully_replicated

Yes

Yes

Yes

Both

Yes

ndb_index_stat_enable

Yes

Yes

Yes

Both

Yes

ndb_index_stat_option

Yes

Yes

Yes

Both

Yes

ndb_join_pushdown

  

  

Yes

Both

Yes

ndb-log-apply-status

Yes

Yes

  

  

No

Variablendb_log_apply_status

  

  

Yes

Global

No

ndb_log_apply_status

Yes

Yes

Yes

Global

No

ndb_log_bin

Yes

  

Yes

Both

Yes

ndb_log_binlog_index

Yes

  

Yes

Global

Yes

ndb-log-empty-epochs

Yes

Yes

Yes

Global

Yes

ndb_log_empty_epochs

Yes

Yes

Yes

Global

Yes

ndb-log-empty-update

Yes

Yes

Yes

Global

Yes

ndb_log_empty_update

Yes

Yes

Yes

Global

Yes

ndb-log-exclusive-reads

Yes

Yes

  

  

Yes

Variablendb_log_exclusive_reads

  

  

Yes

Both

Yes

ndb_log_exclusive_reads

Yes

Yes

Yes

Both

Yes

ndb-log-orig

Yes

Yes

  

  

No

Variablendb_log_orig

  

  

Yes

Global

No

ndb_log_orig

Yes

Yes

Yes

Global

No

ndb-log-transaction-id

Yes

Yes

  

  

No

Variablendb_log_transaction_id

  

  

Yes

Global

No

ndb_log_transaction_id

  

  

Yes

Global

No

ndb-log-update-minimal

Yes

Yes

Yes

Global

Yes

ndb_log_updated_only

Yes

Yes

Yes

Global

Yes

ndb_optimization_delay

  

  

Yes

Global

Yes

ndb_optimized_node_selection

Yes

Yes

Yes

Global

No

ndb_read_backup

Yes

Yes

Yes

Global

Yes

ndb_recv_thread_cpu_mask

  

  

Yes

Global

Yes

ndb_report_thresh_binlog_epoch_slip

Yes

Yes

Yes

Global

Yes

ndb_report_thresh_binlog_mem_usage

Yes

Yes

Yes

Global

Yes

ndb_show_foreign_key_mock_tables

Yes

Yes

Yes

Global

Yes

ndb_slave_conflict_role

Yes

Yes

Yes

Global

Yes

Ndb_slave_max_replicated_epoch

  

  

Yes

Global

No

Ndb_system_name

  

  

Yes

Global

No

ndb_table_no_logging

  

  

Yes

Session

Yes

ndb_table_temporary

  

  

Yes

Session

Yes

ndb_use_copying_alter_table

  

  

Yes

Both

No

ndb_use_exact_count

  

  

Yes

Both

Yes

ndb_use_transactions

Yes

Yes

Yes

Both

Yes

ndb_version

  

  

Yes

Global

No

ndb_version_string

  

  

Yes

Global

No

ndb-wait-connected

Yes

Yes

Yes

Global

No

ndb-wait-setup

Yes

Yes

Yes

Global

No

ndbinfo_database

  

  

Yes

Global

No

ndbinfo_max_bytes

Yes

  

Yes

Both

Yes

ndbinfo_max_rows

Yes

  

Yes

Both

Yes

ndbinfo_offline

  

  

Yes

Global

Yes

ndbinfo_show_hidden

Yes

  

Yes

Both

Yes

ndbinfo_table_prefix

Yes

  

Yes

Both

Yes

ndbinfo_version

  

  

Yes

Global

No

net_buffer_length

Yes

Yes

Yes

Both

Yes

net_read_timeout

Yes

Yes

Yes

Both

Yes

net_retry_count

Yes

Yes

Yes

Both

Yes

net_write_timeout

Yes

Yes

Yes

Both

Yes

new

Yes

Yes

Yes

Both

Yes

ngram_token_size

Yes

Yes

Yes

Global

No

offline_mode

Yes

Yes

Yes

Global

Yes

old

Yes

Yes

Yes

Global

No

old-alter-table

Yes

Yes

  

  

Yes

Variableold_alter_table

  

  

Yes

Both

Yes

old_passwords

  

  

Yes

Both

Yes

open-files-limit

Yes

Yes

  

  

No

Variableopen_files_limit

  

  

Yes

Global

No

optimizer_prune_level

Yes

Yes

Yes

Both

Yes

optimizer_search_depth

Yes

Yes

Yes

Both

Yes

optimizer_switch

Yes

Yes

Yes

Both

Yes

optimizer_trace

  

  

Yes

Both

Yes

optimizer_trace_features

  

  

Yes

Both

Yes

optimizer_trace_limit

  

  

Yes

Both

Yes

optimizer_trace_max_mem_size

  

  

Yes

Both

Yes

optimizer_trace_offset

  

  

Yes

Both

Yes

parser_max_mem_size

Yes

Yes

Yes

Both

Yes

performance_schema

Yes

Yes

Yes

Global

No

performance_schema_accounts_size

Yes

Yes

Yes

Global

No

performance_schema_digests_size

Yes

Yes

Yes

Global

No

performance_schema_events_stages_history_long_size

Yes

Yes

Yes

Global

No

performance_schema_events_stages_history_size

Yes

Yes

Yes

Global

No

performance_schema_events_statements_history_long_size

Yes

Yes

Yes

Global

No

performance_schema_events_statements_history_size

Yes

Yes

Yes

Global

No

performance_schema_events_transactions_history_long_size

Yes

Yes

Yes

Global

No

performance_schema_events_transactions_history_size

Yes

Yes

Yes

Global

No

performance_schema_events_waits_history_long_size

Yes

Yes

Yes

Global

No

performance_schema_events_waits_history_size

Yes

Yes

Yes

Global

No

performance_schema_hosts_size

Yes

Yes

Yes

Global

No

performance_schema_max_cond_classes

Yes

Yes

Yes

Global

No

performance_schema_max_cond_instances

Yes

Yes

Yes

Global

No

performance_schema_max_digest_length

Yes

Yes

Yes

Global

No

performance_schema_max_file_classes

Yes

Yes

Yes

Global

No

performance_schema_max_file_handles

Yes

Yes

Yes

Global

No

performance_schema_max_file_instances

Yes

Yes

Yes

Global

No

performance_schema_max_index_stat

Yes

Yes

Yes

Global

No

performance_schema_max_memory_classes

Yes

Yes

Yes

Global

No

performance_schema_max_metadata_locks

Yes

Yes

Yes

Global

No

performance_schema_max_mutex_classes

Yes

Yes

Yes

Global

No

performance_schema_max_mutex_instances

Yes

Yes

Yes

Global

No

performance_schema_max_prepared_statements_instances

Yes

Yes

Yes

Global

No

performance_schema_max_program_instances

Yes

Yes

Yes

Global

No

performance_schema_max_rwlock_classes

Yes

Yes

Yes

Global

No

performance_schema_max_rwlock_instances

Yes

Yes

Yes

Global

No

performance_schema_max_socket_classes

Yes

Yes

Yes

Global

No

performance_schema_max_socket_instances

Yes

Yes

Yes

Global

No

performance_schema_max_sql_text_length

Yes

Yes

Yes

Global

No

performance_schema_max_stage_classes

Yes

Yes

Yes

Global

No

performance_schema_max_statement_classes

Yes

Yes

Yes

Global

No

performance_schema_max_statement_stack

Yes

Yes

Yes

Global

No

performance_schema_max_table_handles

Yes

Yes

Yes

Global

No

performance_schema_max_table_instances

Yes

Yes

Yes

Global

No

performance_schema_max_table_lock_stat

Yes

Yes

Yes

Global

No

performance_schema_max_thread_classes

Yes

Yes

Yes

Global

No

performance_schema_max_thread_instances

Yes

Yes

Yes

Global

No

performance_schema_session_connect_attrs_size

Yes

Yes

Yes

Global

No

performance_schema_setup_actors_size

Yes

Yes

Yes

Global

No

performance_schema_setup_objects_size

Yes

Yes

Yes

Global

No

performance_schema_users_size

Yes

Yes

Yes

Global

No

pid-file

Yes

Yes

  

  

No

Variablepid_file

  

  

Yes

Global

No

plugin_dir

Yes

Yes

Yes

Global

No

port

Yes

Yes

Yes

Global

No

preload_buffer_size

Yes

Yes

Yes

Both

Yes

profiling

  

  

Yes

Both

Yes

profiling_history_size

Yes

Yes

Yes

Both

Yes

protocol_version

  

  

Yes

Global

No

proxy_user

  

  

Yes

Session

No

pseudo_slave_mode

  

  

Yes

Session

Yes

pseudo_thread_id

  

  

Yes

Session

Yes

query_alloc_block_size

Yes

Yes

Yes

Both

Yes

query_cache_limit

Yes

Yes

Yes

Global

Yes

query_cache_min_res_unit

Yes

Yes

Yes

Global

Yes

query_cache_size

Yes

Yes

Yes

Global

Yes

query_cache_type

Yes

Yes

Yes

Both

Yes

query_cache_wlock_invalidate

Yes

Yes

Yes

Both

Yes

query_prealloc_size

Yes

Yes

Yes

Both

Yes

rand_seed1

  

  

Yes

Session

Yes

rand_seed2

  

  

Yes

Session

Yes

range_alloc_block_size

Yes

Yes

Yes

Both

Yes

range_optimizer_max_mem_size

Yes

Yes

Yes

Both

Yes

rbr_exec_mode

  

  

Yes

Session

Yes

read_buffer_size

Yes

Yes

Yes

Both

Yes

read_only

Yes

Yes

Yes

Global

Yes

read_rnd_buffer_size

Yes

Yes

Yes

Both

Yes

relay-log

Yes

Yes

  

  

No

Variablerelay_log

  

  

Yes

Global

No

relay_log_basename

  

  

Yes

Global

No

relay-log-index

Yes

Yes

  

  

No

Variablerelay_log_index

  

  

Yes

Global

No

relay_log_index

Yes

Yes

Yes

Global

No

relay_log_info_file

Yes

Yes

Yes

Global

No

relay_log_info_repository

  

  

Yes

Global

Yes

relay_log_purge

Yes

Yes

Yes

Global

Yes

relay_log_recovery

Yes

Yes

Yes

Global

No

relay_log_space_limit

Yes

Yes

Yes

Global

No

report-host

Yes

Yes

  

  

No

Variablereport_host

  

  

Yes

Global

No

report-password

Yes

Yes

  

  

No

Variablereport_password

  

  

Yes

Global

No

report-port

Yes

Yes

  

  

No

Variablereport_port

  

  

Yes

Global

No

report-user

Yes

Yes

  

  

No

Variablereport_user

  

  

Yes

Global

No

require_secure_transport

Yes

Yes

Yes

Global

Yes

rewriter_enabled

  

  

Yes

Global

Yes

rewriter_verbose

  

  

Yes

Global

Yes

rpl_semi_sync_master_enabled

  

  

Yes

Global

Yes

rpl_semi_sync_master_timeout

  

  

Yes

Global

Yes

rpl_semi_sync_master_trace_level

  

  

Yes

Global

Yes

rpl_semi_sync_master_wait_for_slave_count

  

  

Yes

Global

Yes

rpl_semi_sync_master_wait_no_slave

  

  

Yes

Global

Yes

rpl_semi_sync_master_wait_point

  

  

Yes

Global

Yes

rpl_semi_sync_slave_enabled

  

  

Yes

Global

Yes

rpl_semi_sync_slave_trace_level

  

  

Yes

Global

Yes

rpl_stop_slave_timeout

Yes

Yes

Yes

Global

Yes

secure-auth

Yes

Yes

  

  

Yes

Variablesecure_auth

  

  

Yes

Global

Yes

secure-file-priv

Yes

Yes

  

  

No

Variablesecure_file_priv

  

  

Yes

Global

No

server-id

Yes

Yes

  

  

Yes

Variableserver_id

  

  

Yes

Global

Yes

server-id-bits

Yes

Yes

  

  

No

Variableserver_id_bits

  

  

Yes

Global

No

server_id_bits

Yes

Yes

Yes

Global

No

server_uuid

  

  

Yes

Global

No

session_track_gtids

Yes

Yes

Yes

Both

Yes

session_track_schema

Yes

Yes

Yes

Both

Yes

session_track_state_change

Yes

Yes

Yes

Both

Yes

session_track_system_variables

Yes

Yes

Yes

Both

Yes

sha256_password_auto_generate_rsa_keys

Yes

Yes

Yes

Global

No

sha256_password_private_key_path

  

  

Yes

Global

No

sha256_password_proxy_users

Yes

Yes

Yes

Global

Yes

sha256_password_public_key_path

  

  

Yes

Global

No

shared_memory

Yes

Yes

Yes

Global

No

shared_memory_base_name

Yes

Yes

Yes

Global

No

show_compatibility_56

Yes

Yes

Yes

Global

Yes

show_old_temporals

Yes

Yes

Yes

Both

Yes

simplified_binlog_gtid_recovery

Yes

Yes

Yes

Global

No

skip_external_locking

Yes

Yes

Yes

Global

No

skip-name-resolve

Yes

Yes

  

  

No

Variableskip_name_resolve

  

  

Yes

Global

No

skip-networking

Yes

Yes

  

  

No

Variableskip_networking

  

  

Yes

Global

No

skip-show-database

Yes

Yes

  

  

No

Variableskip_show_database

  

  

Yes

Global

No

slave_allow_batching

Yes

Yes

Yes

Global

Yes

slave_checkpoint_group

Yes

Yes

Yes

Global

Yes

slave_checkpoint_period

Yes

Yes

Yes

Global

Yes

slave_compressed_protocol

Yes

Yes

Yes

Global

Yes

slave_exec_mode

Yes

Yes

Yes

Global

Yes

slave-load-tmpdir

Yes

Yes

  

  

No

Variableslave_load_tmpdir

  

  

Yes

Global

No

slave_max_allowed_packet

  

  

Yes

Global

Yes

slave-net-timeout

Yes

Yes

  

  

Yes

Variableslave_net_timeout

  

  

Yes

Global

Yes

slave_parallel_type

  

  

Yes

Global

Yes

slave_parallel_workers

Yes

  

Yes

Global

Yes

slave_pending_jobs_size_max

  

  

Yes

Global

Yes

slave_preserve_commit_order

Yes

  

Yes

Global

Yes

slave_rows_search_algorithms

  

  

Yes

Global

Yes

slave-skip-errors

Yes

Yes

  

  

No

Variableslave_skip_errors

  

  

Yes

Global

No

slave_sql_verify_checksum

  

  

Yes

Global

Yes

slave_transaction_retries

Yes

Yes

Yes

Global

Yes

slave_type_conversions

Yes

Yes

Yes

Global

No

slow_launch_time

Yes

Yes

Yes

Global

Yes

slow-query-log

Yes

Yes

  

  

Yes

Variableslow_query_log

  

  

Yes

Global

Yes

slow_query_log_file

Yes

Yes

Yes

Global

Yes

socket

Yes

Yes

Yes

Global

No

sort_buffer_size

Yes

Yes

Yes

Both

Yes

sql_auto_is_null

  

  

Yes

Both

Yes

sql_big_selects

  

  

Yes

Both

Yes

sql_buffer_result

  

  

Yes

Both

Yes

sql_log_bin

  

  

Yes

Session

Yes

sql_log_off

  

  

Yes

Both

Yes

sql-mode

Yes

Yes

  

  

Yes

Variablesql_mode

  

  

Yes

Both

Yes

sql_notes

  

  

Yes

Both

Yes

sql_quote_show_create

  

  

Yes

Both

Yes

sql_safe_updates

  

  

Yes

Both

Yes

sql_select_limit

  

  

Yes

Both

Yes

sql_slave_skip_counter

  

  

Yes

Global

Yes

sql_warnings

  

  

Yes

Both

Yes

ssl-ca

Yes

Yes

  

  

No

Variablessl_ca

  

  

Yes

Global

No

ssl-capath

Yes

Yes

  

  

No

Variablessl_capath

  

  

Yes

Global

No

ssl-cert

Yes

Yes

  

  

No

Variablessl_cert

  

  

Yes

Global

No

ssl-cipher

Yes

Yes

  

  

No

Variablessl_cipher

  

  

Yes

Global

No

ssl-crl

Yes

Yes

  

  

No

Variablessl_crl

  

  

Yes

Global

No

ssl-crlpath

Yes

Yes

  

  

No

Variablessl_crlpath

  

  

Yes

Global

No

ssl-key

Yes

Yes

  

  

No

Variablessl_key

  

  

Yes

Global

No

storage_engine

  

  

Yes

Both

Yes

stored_program_cache

Yes

Yes

Yes

Global

Yes

super_read_only

Yes

Yes

Yes

Global

Yes

sync_binlog

Yes

Yes

Yes

Global

Yes

sync_frm

Yes

Yes

Yes

Global

Yes

sync_master_info

Yes

Yes

Yes

Global

Yes

sync_relay_log

Yes

Yes

Yes

Global

Yes

sync_relay_log_info

Yes

Yes

Yes

Global

Yes

system_time_zone

  

  

Yes

Global

No

table_definition_cache

  

  

Yes

Global

Yes

table_open_cache

  

  

Yes

Global

Yes

table_open_cache_instances

  

  

Yes

Global

No

thread_cache_size

Yes

Yes

Yes

Global

Yes

thread_concurrency

Yes

Yes

Yes

Global

No

thread_handling

Yes

Yes

Yes

Global

No

thread_pool_algorithm

Yes

Yes

Yes

Global

No

thread_pool_high_priority_connection

Yes

Yes

Yes

Both

Yes

thread_pool_max_unused_threads

Yes

Yes

Yes

Global

Yes

thread_pool_prio_kickup_timer

Yes

Yes

Yes

Both

Yes

thread_pool_size

Yes

Yes

Yes

Global

No

thread_pool_stall_limit

Yes

Yes

Yes

Global

Yes

thread_stack

Yes

Yes

Yes

Global

No

time_format

  

  

Yes

Global

No

time_zone

  

  

Yes

Both

Yes

timed_mutexes

Yes

Yes

Yes

Global

Yes

timestamp

  

  

Yes

Session

Yes

tls_version

Yes

Yes

Yes

Global

No

tmp_table_size

Yes

Yes

Yes

Both

Yes

tmpdir

Yes

Yes

Yes

Global

No

transaction_alloc_block_size

Yes

Yes

Yes

Both

Yes

transaction_allow_batching

  

  

Yes

Session

Yes

transaction-isolation

Yes

Yes

  

  

Yes

Variabletx_isolation

  

  

Yes

Both

Yes

transaction_prealloc_size

Yes

Yes

Yes

Both

Yes

transaction-read-only

Yes

Yes

  

  

Yes

Variabletx_read_only

  

  

Yes

Both

Yes

transaction_write_set_extraction

Yes

  

Yes

Both

Yes

tx_isolation

  

  

Yes

Both

Yes

tx_read_only

  

  

Yes

Both

Yes

unique_checks

  

  

Yes

Both

Yes

updatable_views_with_limit

Yes

Yes

Yes

Both

Yes

validate_password_check_user_name

Yes

Yes

Yes

Global

Yes

validate_password_dictionary_file

  

  

Yes

Global

Varies

validate_password_length

  

  

Yes

Global

Yes

validate_password_mixed_case_count

  

  

Yes

Global

Yes

validate_password_number_count

  

  

Yes

Global

Yes

validate_password_policy

  

  

Yes

Global

Yes

validate_password_special_char_count

  

  

Yes

Global

Yes

validate_user_plugins

  

  

Yes

Global

No

version

  

  

Yes

Global

No

version_comment

  

  

Yes

Global

No

version_compile_machine

  

  

Yes

Global

No

version_compile_os

  

  

Yes

Global

No

version_tokens_session

Yes

Yes

Yes

Both

Yes

version_tokens_session_number

Yes

Yes

Yes

Both

No

wait_timeout

Yes

Yes

Yes

Both

Yes

warning_count

  

  

Yes

Session

No

[a] This option is dynamic, but only the server should set this information. You should not set the value of this variable manually.

[b] This option is dynamic, but only the server should set this information. You should not set the value of this variable manually.

Chapter 5 MySQL Server Administration_1

标签:5.7   9.4   sign   gen   enable   this   cer   bin   long   

原文地址:http://www.cnblogs.com/djinmusic/p/7469987.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!