## 1.4 添加、弃用或删除的服务器和状态变量和选项 MySQL 8.0 - [MySQL 8.0 中引入的选项和变量](added-deprecated-removed.html#optvars-added) - [MySQL 8.0 中弃用的选项和变量](added-deprecated-removed.html#optvars-deprecated) - [MySQL 8.0 中删除的选项和变量](added-deprecated-removed.html#optvars-removed) 本节列出了 MySQL 8.0 中首次添加、已弃用或已删除的服务器变量、状态变量和选项。 ### MySQL 8.0 中引入的选项和变量 MySQL 8.0 中添加了以下系统变量、状态变量和服务器选项。 [](<>) - `[Acl_cache_items_count](服务器状态变量.html#statvar_Acl_cache_items_count)`:缓存的特权对象的数量。在 MySQL 8.0.0 中添加。 - `[Audit_log_current_size](audit-log-reference.html#statvar_Audit_log_current_size)`:审核日志文件当前大小。在 MySQL 8.0.11 中添加。 - `[Audit_log_event_max_drop_size](audit-log-reference.html#statvar_Audit_log_event_max_drop_size)`:最大丢弃的审计事件的大小。在 MySQL 8.0.11 中添加。 - `[Audit_log_events](audit-log-reference.html#statvar_Audit_log_events)`:处理的审计事件数。在 MySQL 8.0.11 中添加。 - `[Audit_log_events_filtered](audit-log-reference.html#statvar_Audit_log_events_filtered)`:过滤的审计事件的数量。在 MySQL 8.0.11 中添加。 - `[Audit_log_events_lost](audit-log-reference.html#statvar_Audit_log_events_lost)`: 丢弃的审计事件数。在 MySQL 8.0.11 中添加。 - `[Audit_log_events_written](audit-log-reference.html#statvar_Audit_log_events_written)`:书面审计事件的数量。在 MySQL 8.0.11 中添加。 - `[Audit_log_total_size](audit-log-reference.html#statvar_Audit_log_total_size)`:书面审计事件的组合大小。在 MySQL 8.0.11 中添加。 - `[Audit_log_write_waits](audit-log-reference.html#statvar_Audit_log_write_waits)`:写延迟审计事件的数量。在 MySQL 8.0.11 中添加。 - `[Authentication_ldap_sasl_supported_methods](服务器状态变量.html#statvar_Authentication_ldap_sasl_supported_methods)`:支持 SASL LDAP 身份验证的身份验证方法。在 MySQL 8.0.21 中添加。 - `[Caching_sha2_password_rsa_public_key](服务器状态变量.html#statvar_Caching_sha2_password_rsa_public_key)`: 缓存\_沙2\_密码认证插件 RSA 公钥值。在 MySQL 8.0.4 中添加。 - `[Com_alter_resource_group](服务器状态变量.html#statvar_Com_xxx)`: ALTER RESOURCE GROUP 语句的计数。在 MySQL 8.0.3 中添加。 - `[Com_alter_user_default_role](服务器状态变量.html#statvar_Com_xxx)`: ALTER USER ... DEFAULT ROLE 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_change_replication_source](服务器状态变量.html#statvar_Com_xxx)`: CHANGE REPLICATION SOURCE TO 和 CHANGE MASTER TO 语句的计数。在 MySQL 8.0.23 中添加。 - `[Com_clone](服务器状态变量.html#statvar_Com_xxx)`: CLONE 语句的计数。在 MySQL 8.0.2 中添加。 - `[Com_create_resource_group](服务器状态变量.html#statvar_Com_xxx)`: CREATE RESOURCE GROUP 语句的计数。在 MySQL 8.0.3 中添加。 - `[Com_create_role](服务器状态变量.html#statvar_Com_xxx)`: CREATE ROLE 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_drop_resource_group](服务器状态变量.html#statvar_Com_xxx)`: DROP RESOURCE GROUP 语句的计数。在 MySQL 8.0.3 中添加。 - `[Com_drop_role](服务器状态变量.html#statvar_Com_xxx)`: DROP ROLE 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_grant_roles](服务器状态变量.html#statvar_Com_xxx)`: GRANT ROLE 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_install_component](服务器状态变量.html#statvar_Com_xxx)`: INSTALL COMPONENT 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_replica_start](服务器状态变量.html#statvar_Com_xxx)`: START REPLICA 和 START SLAVE 语句的计数。在 MySQL 8.0.22 中添加。 - `[Com_replica_stop](服务器状态变量.html#statvar_Com_xxx)`: STOP REPLICA 和 STOP SLAVE 语句的计数。在 MySQL 8.0.22 中添加。 - `[Com_restart](服务器状态变量.html#statvar_Com_xxx)`: RESTART 语句的计数。在 MySQL 8.0.4 中添加。 - `[Com_revoke_roles](服务器状态变量.html#statvar_Com_xxx)`: REVOKE ROLES 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_set_resource_group](服务器状态变量.html#statvar_Com_xxx)`: SET RESOURCE GROUP 语句的计数。在 MySQL 8.0.3 中添加。 - `[Com_set_role](服务器状态变量.html#statvar_Com_xxx)`: SET ROLE 语句的计数。在 MySQL 8.0.0 中添加。 - `[Com_show_replica_status](服务器状态变量.html#statvar_Com_xxx)`: SHOW REPLICA STATUS 和 SHOW SLAVE STATUS 语句的计数。在 MySQL 8.0.22 中添加。 - `[Com_show_replicas](server-status-variables.html#statvar_Com_xxx)`: SHOW REPLICAS 和 SHOW SLAVE HOSTS 语句的计数。在 MySQL 8.0.22 中添加。 - `[Com_uninstall_component](服务器状态变量.html#statvar_Com_xxx)`:卸载组件语句的计数。在 MySQL 8.0.0 中添加。 - `[Compression_algorithm](server-status-variables.html#statvar_Compression_algorithm)`:当前连接的压缩算法。在 MySQL 8.0.18 中添加。 - `[Compression_level](server-status-variables.html#statvar_Compression_level)`:当前连接的压缩级别。在 MySQL 8.0.18 中添加。 - `[Connection_control_delay_generated](connection-control-variables.html#statvar_Connection_control_delay_generated)`: 服务器延迟连接请求的次数。在 MySQL 8.0.1 中添加。 - `[Current_tls_ca](server-status-variables.html#statvar_Current_tls_ca)`: ssl 的当前值\_ca 系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_capath](服务器状态变量.html#statvar_Current_tls_capath)`: ssl 的当前值\_capath 系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_cert](服务器状态变量.html#statvar_Current_tls_cert)`: ssl 的当前值\_证书系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_cipher](服务器状态变量.html#statvar_Current_tls_cipher)`: ssl 的当前值\_密码系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_ciphersuites](服务器状态变量.html#statvar_Current_tls_ciphersuites)`: tsl 的当前值\_密码套件系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_crl](服务器状态变量.html#statvar_Current_tls_crl)`: ssl 的当前值\_crl 系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_crlpath](服务器状态变量.html#statvar_Current_tls_crlpath)`: ssl 的当前值\_crlpath 系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_key](服务器状态变量.html#statvar_Current_tls_key)`: ssl 的当前值\_关键系统变量。在 MySQL 8.0.16 中添加。 - `[Current_tls_version](服务器状态变量.html#statvar_Current_tls_version)`: tls 的当前值\_版本系统变量。在 MySQL 8.0.16 中添加。 - `[Error_log_buffered_bytes](服务器状态变量.html#statvar_Error_log_buffered_bytes)`: 错误使用的字节数\_日志表。在 MySQL 8.0.22 中添加。 - `[Error_log_buffered_events](服务器状态变量.html#statvar_Error_log_buffered_events)`: 错误事件数\_日志表。在 MySQL 8.0.22 中添加。 - `[Error_log_expired_events](服务器状态变量.html#statvar_Error_log_expired_events)`:从错误中丢弃的事件数\_日志表。在 MySQL 8.0.22 中添加。 - `[Error_log_latest_write](服务器状态变量.html#statvar_Error_log_latest_write)`: 上次写入错误的时间\_日志表。在 MySQL 8.0.22 中添加。 - `[Firewall_access_denied](firewall-reference.html#statvar_Firewall_access_denied)`:被 MySQL 企业防火墙拒绝的语句数。在 MySQL 8.0.11 中添加。 - `[Firewall_access_granted](firewall-reference.html#statvar_Firewall_access_granted)`:MySQL 企业防火墙接受的语句数。在 MySQL 8.0.11 中添加。 - `[Firewall_cached_entries](firewall-reference.html#statvar_Firewall_cached_entries)`: MySQL Enterprise Firewall 记录的语句数。在 MySQL 8.0.11 中添加。 - `[Global_connection_memory](server-status-variables.html#statvar_Global_connection_memory)`:所有用户线程当前使用的内存量。在 MySQL 8.0.28 中添加。 - `[Innodb_redo_log_enabled](服务器状态变量.html#statvar_Innodb_redo_log_enabled)`:InnoDB 重做日志状态。在 MySQL 8.0.21 中添加。 - `[Innodb_system_rows_deleted](服务器状态变量.html#statvar_Innodb_system_rows_deleted)`:从系统模式表中删除的行数。在 MySQL 8.0.19 中添加。 - `[Innodb_system_rows_inserted](服务器状态变量.html#statvar_Innodb_system_rows_inserted)`:插入系统模式表的行数。在 MySQL 8.0.19 中添加。 - `[Innodb_system_rows_read](服务器状态变量.html#statvar_Innodb_system_rows_read)`:从系统模式表中读取的行数。在 MySQL 8.0.19 中添加。 - `[Innodb_undo_tablespaces_active](服务器状态变量.html#statvar_Innodb_undo_tablespaces_active)`:活动撤消表空间的数量。在 MySQL 8.0.14 中添加。 - `[Innodb_undo_tablespaces_explicit](服务器状态变量.html#statvar_Innodb_undo_tablespaces_explicit)`:用户创建的撤消表空间的数量。在 MySQL 8.0.14 中添加。 - `[Innodb_undo_tablespaces_implicit](服务器状态变量.html#statvar_Innodb_undo_tablespaces_implicit)`:InnoDB 创建的撤消表空间数。在 MySQL 8.0.14 中添加。 - `[Innodb_undo_tablespaces_total](服务器状态变量.html#statvar_Innodb_undo_tablespaces_total)`:撤消表空间的总数。在 MySQL 8.0.14 中添加。 - `[Mysqlx_bytes_received_compressed_pa​​yload](x-plugin-status-variables.html#statvar_Mysqlx_bytes_received_compressed_pa​​yload)`:作为压缩消息有效负载接收的字节数,在解压缩之前测量。在 MySQL 8.0.19 中添加。 - `[Mysqlx_bytes_received_uncompressed_frame](x-plugin-status-variables.html#statvar_Mysqlx_bytes_received_uncompressed_frame)`:作为压缩消息有效负载接收的字节数,在解压缩后测量。在 MySQL 8.0.19 中添加。 - `[Mysqlx_bytes_sent_compressed_pa​​yload](x-plugin-status-variables.html#statvar_Mysqlx_bytes_sent_compressed_pa​​yload)`:作为压缩消息有效负载发送的字节数,在压缩后测量。在 MySQL 8.0.19 中添加。 - `[Mysqlx_bytes_sent_uncompressed_frame](x-plugin-status-variables.html#statvar_Mysqlx_bytes_sent_uncompressed_frame)`:作为压缩消息有效负载发送的字节数,在压缩前测量。在 MySQL 8.0.19 中添加。 - `[Mysqlx_compression_algorithm](x-plugin-status-variables.html#statvar_Mysqlx_compression_algorithm)`:此会话的 X 协议连接使用的压缩算法。在 MySQL 8.0.20 中添加。 - `[Mysqlx_compression_level](x-plugin-status-variables.html#statvar_Mysqlx_compression_level)`:此会话的 X 协议连接使用的压缩级别。在 MySQL 8.0.20 中添加。 - `[Replica_open_temp_tables](服务器状态变量.html#statvar_Replica_open_temp_tables)`: 复制 SQL 线程当前打开的临时表的数量。在 MySQL 8.0.26 中添加。 - `[Replica_rows_last_search_algorithm_used](服务器状态变量.html#statvar_Replica_rows_last_search_algorithm_used)`:此副本最近使用的搜索算法,用于定位基于行的复制(索引、表或哈希扫描)的行。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_replica_status](服务器状态变量.html#statvar_Rpl_semi_sync_replica_status)`: 半同步复制是否对副本有效。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_clients](服务器状态变量.html#statvar_Rpl_semi_sync_source_clients)`:半同步副本的数量。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_net_avg_wait_time](服务器状态变量.html#statvar_Rpl_semi_sync_source_net_avg_wait_time)`:平均时间源已等待来自副本的回复。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_net_wait_time](服务器状态变量.html#statvar_Rpl_semi_sync_source_net_wait_time)`:源等待副本回复的总时间。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_net_waits](服务器状态变量.html#statvar_Rpl_semi_sync_source_net_waits)`:源等待副本回复的总次数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_no_times](服务器状态变量.html#statvar_Rpl_semi_sync_source_no_times)`:源关闭半同步复制的次数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_no_tx](服务器状态变量.html#statvar_Rpl_semi_sync_source_no_tx)`:未成功确认的提交数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_status](服务器状态变量.html#statvar_Rpl_semi_sync_source_status)`:半同步复制是否在源上运行。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_timefunc_failures](服务器状态变量.html#statvar_Rpl_semi_sync_source_timefunc_failures)`: 调用时间函数时源失败的次数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_tx_avg_wait_time](服务器状态变量.html#statvar_Rpl_semi_sync_source_tx_avg_wait_time)`:平均时间源等待每个事务。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_tx_wait_time](服务器状态变量.html#statvar_Rpl_semi_sync_source_tx_wait_time)`:等待事务的总时间源。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_tx_waits](服务器状态变量.html#statvar_Rpl_semi_sync_source_tx_waits)`:源等待事务的总次数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_wait_pos_backtraverse](服务器状态变量.html#statvar_Rpl_semi_sync_source_wait_pos_backtraverse)`:源等待二进制坐标低于先前等待事件的事件的总次数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_wait_sessions](服务器状态变量.html#statvar_Rpl_semi_sync_source_wait_sessions)`:当前等待副本回复的会话数。在 MySQL 8.0.26 中添加。 - `[Rpl_semi_sync_source_yes_tx](服务器状态变量.html#statvar_Rpl_semi_sync_source_yes_tx)`:成功确认的提交数。在 MySQL 8.0.26 中添加。 - `[Secondary_engine_execution_count](服务器状态变量.html#statvar_Secondary_engine_execution_count)`:卸载到辅助引擎的查询数。在 MySQL 8.0.13 中添加。\[Ssl_session_cache_timeout](服务器状态变量.html#statvar_Ssl_session_cache_timeout) - `:缓存中的当前 SSL 会话超时值。`在 MySQL 8.0.29 中添加。\[activate_all_roles_on_login](服务器系统变量.html#sysvar_activate_all_roles_on_login) - `:是否在连接时激活所有用户角色。`在 MySQL 8.0.2 中添加。\[admin-ssl](server-options.html#option_mysqld_admin-ssl) - `:启用连接加密。`在 MySQL 8.0.21 中添加。\[admin_address](server-system-variables.html#sysvar_admin_address) - `:要绑定到管理界面上的连接的 IP 地址。`在 MySQL 8.0.14 中添加。 - `[admin_port](服务器系统变量.html#sysvar_admin_port)`:用于管理界面上的连接的 TCP/IP 编号。在 MySQL 8.0.14 中添加。 - `[admin_ssl_ca](服务器系统变量.html#sysvar_admin_ssl_ca)`:包含受信任 SSL 证书颁发机构列表的文件。在 MySQL 8.0.21 中添加。 - `[admin_ssl_capath](服务器系统变量.html#sysvar_admin_ssl_capath)`:包含受信任的 SSL 证书颁发机构证书文件的目录。在 MySQL 8.0.21 中添加。 - `[admin_ssl_cert](服务器系统变量.html#sysvar_admin_ssl_cert)`:包含 X.509 证书的文件。在 MySQL 8.0.21 中添加。 - `[admin_ssl_cipher](服务器系统变量.html#sysvar_admin_ssl_cipher)`:用于连接加密的允许密码。在 MySQL 8.0.21 中添加。 - `[admin_ssl_crl](服务器系统变量.html#sysvar_admin_ssl_crl)`:包含证书吊销列表的文件。在 MySQL 8.0.21 中添加。 - `[admin_ssl_crlpath](服务器系统变量.html#sysvar_admin_ssl_crlpath)`:包含证书吊销列表文件的目录。在 MySQL 8.0.21 中添加。 - `[admin_ssl_key](服务器系统变量.html#sysvar_admin_ssl_key)`: 包含 X.509 密钥的文件。在 MySQL 8.0.21 中添加。 - `[admin_tls_ciphersuites](服务器系统变量.html#sysvar_admin_tls_ciphersuites)`:允许的 TLSv1.3 密码套件用于加密连接。在 MySQL 8.0.21 中添加。 - `[admin_tls_version](服务器系统变量.html#sysvar_admin_tls_version)`:加密连接的允许 TLS 协议。在 MySQL 8.0.21 中添加。 - `[审计日志](审计日志参考.html#option_mysqld_审计日志)`: 是否激活审计日志插件。在 MySQL 8.0.11 中添加。 - `[audit_log_buffer_size](audit-log-reference.html#sysvar_audit_log_buffer_size)`:审计日志缓冲区的大小。在 MySQL 8.0.11 中添加。 - `[audit_log_compression](audit-log-reference.html#sysvar_audit_log_compression)`:审计日志文件压缩方法。在 MySQL 8.0.11 中添加。 - `[audit_log_connection_policy](audit-log-reference.html#sysvar_audit_log_connection_policy)`:审核连接相关事件的日志记录策略。在 MySQL 8.0.11 中添加。 - `[audit_log_current_session](audit-log-reference.html#sysvar_audit_log_current_session)`: 是否审计当前会话。在 MySQL 8.0.11 中添加。 - `[audit_log_disable](audit-log-reference.html#sysvar_audit_log_disable)`:禁用审核日志。在 MySQL 8.0.28 中添加。 - `[audit_log_encryption](audit-log-reference.html#sysvar_audit_log_encryption)`:审计日志文件加密方法。在 MySQL 8.0.11 中添加。 - `[audit_log_exclude_accounts](audit-log-reference.html#sysvar_audit_log_exclude_accounts)`: 不审计的账目。在 MySQL 8.0.11 中添加。 - `[audit_log_file](audit-log-reference.html#sysvar_audit_log_file)`:审计日志文件的名称。在 MySQL 8.0.11 中添加。 - `[audit_log_filter_id](audit-log-reference.html#sysvar_audit_log_filter_id)`: 当前审计日志过滤器的 ID。在 MySQL 8.0.11 中添加。 - `[audit_log_flush](audit-log-reference.html#sysvar_audit_log_flush)`:关闭并重新打开审核日志文件。在 MySQL 8.0.11 中添加。 - `[audit_log_format](audit-log-reference.html#sysvar_audit_log_format)`:审核日志文件格式。在 MySQL 8.0.11 中添加。 - `[audit_log_format_unix_timestamp](audit-log-reference.html#sysvar_audit_log_format_unix_timestamp)`:是否在 JSON 格式的审计日志中包含 Unix 时间戳。在 MySQL 8.0.26 中添加。 - `[audit_log_include_accounts](audit-log-reference.html#sysvar_audit_log_include_accounts)`: 要审计的帐目。在 MySQL 8.0.11 中添加。 - `[audit_log_max_size](audit-log-reference.html#sysvar_audit_log_max_size)`: 限制 JSON 审计日志文件的组合大小。在 MySQL 8.0.26 中添加。 - `[audit_log_password_history_keep_days](audit-log-reference.html#sysvar_audit_log_password_history_keep_days)`:保留归档审计日志加密密码的天数。在 MySQL 8.0.17 中添加。 - `[audit_log_policy](audit-log-reference.html#sysvar_audit_log_policy)`:审核日志记录策略。在 MySQL 8.0.11 中添加。 - `[audit_log_prune_seconds](audit-log-reference.html#sysvar_audit_log_prune_seconds)`:审核日志文件被修剪的秒数。在 MySQL 8.0.24 中添加。 - `[audit_log_read_buffer_size](audit-log-reference.html#sysvar_audit_log_read_buffer_size)`:审核日志文件读取缓冲区大小。在 MySQL 8.0.11 中添加。 - `[audit_log_rotate_on_size](audit-log-reference.html#sysvar_audit_log_rotate_on_size)`:关闭并重新打开此大小的审核日志文件。在 MySQL 8.0.11 中添加。 - `[audit_log_statement_policy](audit-log-reference.html#sysvar_audit_log_statement_policy)`:审计语句相关事件的日志记录策略。在 MySQL 8.0.11 中添加。 - `[audit_log_strategy](audit-log-reference.html#sysvar_audit_log_strategy)`: 审计日志策略。在 MySQL 8.0.11 中添加。 - `[authentication_fido_rp_id](pluggable-authentication-system-variables.html#sysvar_authentication_fido_rp_id)`:FIDO 多因素身份验证的依赖方 ID。在 MySQL 8.0.27 中添加。 - `[authentication_kerberos_service_key_tab](pluggable-authentication-system-variables.html#sysvar_authentication_kerberos_service_key_tab)`:包含用于验证 TGS 票证的 Kerberos 服务密钥的文件。在 MySQL 8.0.26 中添加。 - `[authentication_kerberos_service_principal](pluggable-authentication-system-variables.html#sysvar_authentication_kerberos_service_principal)`: Kerberos 服务主体名称。在 MySQL 8.0.26 中添加。 - `[authentication_ldap_sasl_auth_method_name](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_auth_method_name)`: 认证方法名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_bind_base_dn](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_bind_base_dn)`: LDAP 服务器基本专有名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_bind_root_dn](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_bind_root_dn)`: LDAP 服务器根专有名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_bind_root_pwd](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_bind_root_pwd)`:LDAP 服务器根绑定密码。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_ca_path](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_ca_path)`: LDAP 服务器证书授权文件名。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_group_search_attr](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_group_search_attr)`:LDAP 服务器组搜索属性。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_group_search_filter](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_group_search_filter)`:LDAP 自定义组搜索过滤器。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_init_pool_size](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_init_pool_size)`:LDAP 服务器初始连接池大小。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_log_status](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_log_status)`:LDAP 服务器日志级别。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_max_pool_size](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_max_pool_size)`:LDAP 服务器最大连接池大小。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_referral](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_referral)`:是否启用 LDAP 搜索引用。在 MySQL 8.0.20 中添加。 - `[authentication_ldap_sasl_server_host](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_server_host)`:LDAP 服务器主机名或 IP 地址。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_server_port](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_server_port)`:LDAP 服务器端口号。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_tls](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_tls)`:是否使用加密连接到 LDAP 服务器。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_sasl_user_search_attr](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_sasl_user_search_attr)`:LDAP 服务器用户搜索属性。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_auth_method_name](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_auth_method_name)`: 认证方法名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_bind_base_dn](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_bind_base_dn)`: LDAP 服务器基本专有名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_bind_root_dn](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_bind_root_dn)`: LDAP 服务器根专有名称。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_bind_root_pwd](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_bind_root_pwd)`:LDAP 服务器根绑定密码。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_ca_path](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_ca_path)`: LDAP 服务器证书授权文件名。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_group_search_attr](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_group_search_attr)`:LDAP 服务器组搜索属性。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_group_search_filter](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_group_search_filter)`:LDAP 自定义组搜索过滤器。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_init_pool_size](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_init_pool_size)`:LDAP 服务器初始连接池大小。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_log_status](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_log_status)`:LDAP 服务器日志级别。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_max_pool_size](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_max_pool_size)`:LDAP 服务器最大连接池大小。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_referral](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_referral)`:是否启用 LDAP 搜索引用。在 MySQL 8.0.20 中添加。 - `[authentication_ldap_simple_server_host](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_server_host)`:LDAP 服务器主机名或 IP 地址。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_server_port](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_server_port)`:LDAP 服务器端口号。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_tls](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_tls)`:是否使用加密连接到 LDAP 服务器。在 MySQL 8.0.11 中添加。 - `[authentication_ldap_simple_user_search_attr](pluggable-authentication-system-variables.html#sysvar_authentication_ldap_simple_user_search_attr)`:LDAP 服务器用户搜索属性。在 MySQL 8.0.11 中添加。 - `[authentication_policy](服务器系统变量.html#sysvar_authentication_policy)`:用于多因素身份验证的插件。在 MySQL 8.0.27 中添加。\[authentication_windows_log_level](server-system-variables.html#sysvar_authentication_windows_log_level) - `:Windows 身份验证插件日志记录级别。`在 MySQL 8.0.11 中添加。\[authentication_windows_use_principal_name](服务器系统变量.html#sysvar_authentication_windows_use_principal_name) - `:是否使用 Windows 身份验证插件主体名称。`在 MySQL 8.0.11 中添加。\[binlog_encryption](复制选项-二进制日志.html#sysvar_binlog_encryption) - `: 在此服务器上启用二进制日志文件和中继日志文件的加密。`在 MySQL 8.0.14 中添加。\[binlog_expire_logs_auto_purge](复制选项二进制日志.html#sysvar_binlog_expire_logs_auto_purge) - `:控制二进制日志文件的自动清除;`将此设置为 OFF 将禁用自动清除,而不管任何其他设置。在 MySQL 8.0.29 中添加。\[binlog_expire_logs_seconds](复制选项二进制日志.html#sysvar_binlog_expire_logs_seconds) - `: 在这么多秒后清除二进制日志。`在 MySQL 8.0.1 中添加。\[binlog_rotate_encryption_master_key_at_startup](复制选项-binary-log.html#sysvar_binlog_rotate_encryption_master_key_at_startup) - `:在服务器启动时轮换二进制日志主密钥。`在 MySQL 8.0.14 中添加。\[binlog_row_metadata](复制选项二进制日志.html#sysvar_binlog_row_metadata) - `:使用基于行的日志记录时,是否将所有或仅与表相关的最小元数据记录到二进制日志。`在 MySQL 8.0.1 中添加。\[binlog_row_value_options](复制选项二进制日志.html#sysvar_binlog_row_value_options) - `:为基于行的复制启用部分 JSON 更新的二进制日志记录。`在 MySQL 8.0.3 中添加。\[binlog_transaction_compression](复制选项-二进制日志.html#sysvar_binlog_transaction_compression) - `:为二进制日志文件中的事务有效负载启用压缩。`在 MySQL 8.0.20 中添加。 - `[binlog_transaction_compression_level_zstd](replication-options-binary-log.html#sysvar_binlog_transaction_compression_level_zstd)`:二进制日志文件中事务有效负载的压缩级别。在 MySQL 8.0.20 中添加。 - `[binlog_transaction_dependency_history_size](replication-options-binary-log.html#sysvar_binlog_transaction_dependency_history_size)`:为查找最后更新某行的事务而保留的行哈希数。在 MySQL 8.0.1 中添加。 - `[binlog_transaction_dependency_tracking](复制选项二进制日志.html#sysvar_binlog_transaction_dependency_tracking)`:依赖信息的来源(提交时间戳或事务写入集),从中评估哪些事务可以由副本的多线程应用程序并行执行。在 MySQL 8.0.1 中添加。 - `[caching_sha2_password_auto_generate_rsa_keys](服务器系统变量.html#sysvar_caching_sha2_password_auto_generate_rsa_keys)`: 是否自动生成 RSA 密钥对文件。在 MySQL 8.0.4 中添加。 - `[caching_sha2_password_digest_rounds](服务器系统变量.html#sysvar_caching_sha2_password_digest_rounds)`: 用于缓存的哈希轮数\_沙2\_密码认证插件。在 MySQL 8.0.24 中添加。 - `[caching_sha2_password_private_key_path](服务器系统变量.html#sysvar_caching_sha2_password_private_key_path)`: SHA2 认证插件私钥路径名。在 MySQL 8.0.3 中添加。 - `[caching_sha2_password_public_key_path](服务器系统变量.html#sysvar_caching_sha2_password_public_key_path)`: SHA2 认证插件公钥路径名。在 MySQL 8.0.3 中添加。 - `[clone_autotune_concurrency](clone-plugin-options-variables.html#sysvar_clone_autotune_concurrency)`:为远程克隆操作启用线程的动态生成。在 MySQL 8.0.17 中添加。 - `[clone_block_ddl](clone-plugin-options-variables.html#sysvar_clone_block_ddl)`:在克隆操作期间启用独占备份锁。在 MySQL 8.0.27 中添加。 - `[clone_buffer_size](clone-plugin-options-variables.html#sysvar_clone_buffer_size)`:定义供体 MySQL 服务器实例上的中间缓冲区的大小。在 MySQL 8.0.17 中添加。 - `[clone_ddl_timeout](clone-plugin-options-variables.html#sysvar_clone_ddl_timeout)`: 克隆操作等待备份锁的秒数。在 MySQL 8.0.17 中添加。 - `[clone_delay_after_data_drop](clone-plugin-options-variables.html#sysvar_clone_delay_after_data_drop)`:克隆过程开始前的时间延迟(以秒为单位)。在 MySQL 8.0.29 中添加。 - `[clone_donor_timeout_after_network_failure](clone-plugin-options-variables.html#sysvar_clone_donor_timeout_after_network_failure)`:网络故障后允许重新启动克隆操作的时间。在 MySQL 8.0.24 中添加。 - `[clone_enable_compression](clone-plugin-options-variables.html#sysvar_clone_enable_compression)`:在克隆期间启用网络层的数据压缩。在 MySQL 8.0.17 中添加。 - `[clone_max_concurrency](clone-plugin-options-variables.html#sysvar_clone_max_concurrency)`:用于执行克隆操作的最大并发线程数。在 MySQL 8.0.17 中添加。 - `[clone_max_data_bandwidth](clone-plugin-options-variables.html#sysvar_clone_max_data_bandwidth)`:远程克隆操作的最大数据传输速率(以 MiB 为单位)。在 MySQL 8.0.17 中添加。 - `[clone_max_network_bandwidth](clone-plugin-options-variables.html#sysvar_clone_max_network_bandwidth)`:远程克隆操作的最大网络传输速率(以 MiB 为单位)。在 MySQL 8.0.17 中添加。 - `[clone_ssl_ca](clone-plugin-options-variables.html#sysvar_clone_ssl_ca)`:指定证书颁发机构 (CA) 文件的路径。在 MySQL 8.0.14 中添加。 - `[clone_ssl_cert](clone-plugin-options-variables.html#sysvar_clone_ssl_cert)`:指定公钥证书文件的路径。在 MySQL 8.0.14 中添加。 - `[clone_ssl_key](clone-plugin-options-variables.html#sysvar_clone_ssl_key)`: 指定私钥文件的路径。在 MySQL 8.0.14 中添加。 - `[clone_valid_donor_list](clone-plugin-options-variables.html#sysvar_clone_valid_donor_list)`:定义远程克隆操作的宿主主机地址。在 MySQL 8.0.17 中添加。 - `[connection_control_failed_connections_threshold](connection-control-variables.html#sysvar_connection_control_failed_connections_threshold)`: 在延迟发生之前连续失败的连接尝试。在 MySQL 8.0.1 中添加。 - `[connection_control_max_connection_delay](connection-control-variables.html#sysvar_connection_control_max_connection_delay)`:服务器对连接尝试失败的响应的最大延迟(毫秒)。在 MySQL 8.0.1 中添加。 - `[connection_control_min_connection_delay](connection-control-variables.html#sysvar_connection_control_min_connection_delay)`:服务器响应连接尝试失败的最小延迟(毫秒)。在 MySQL 8.0.1 中添加。 - `[connection_memory_chunk_size](服务器系统变量.html#sysvar_connection_memory_chunk_size)`: 更新全局\_联系\_仅当用户内存使用量变化此数量或更多时才使用内存;0 禁用更新。在 MySQL 8.0.28 中添加。 - `[connection_memory_limit](服务器系统变量.html#sysvar_connection_memory_limit)`:在拒绝该用户的其他查询之前,任何一个用户连接可以消耗的最大内存量。不适用于 MySQL root 等系统用户。在 MySQL 8.0.28 中添加。 - `[create_admin_listener_thread](server-system-variables.html#sysvar_create_admin_listener_thread)`: 是否使用专用监听线程进行管理界面的连接。在 MySQL 8.0.14 中添加。 - `[cte_max_recursion_depth](服务器系统变量.html#sysvar_cte_max_recursion_depth)`:公用表表达式最大递归深度。在 MySQL 8.0.3 中添加。 - `[ddl-rewriter](ddl-rewriter-options.html#option_mysqld_ddl-rewriter)`: 是否开启ddl\_重写器插件。在 MySQL 8.0.16 中添加。 - `[default_collat​​ion_for_utf8mb4](服务器系统变量.html#sysvar_default_collat​​ion_for_utf8mb4)`:utf8mb4 字符集的默认排序规则。在 MySQL 8.0.11 中添加。 - `[default_table_encryption](服务器系统变量.html#sysvar_default_table_encryption)`:默认模式和表空间加密设置。在 MySQL 8.0.16 中添加。 - `[dragnet.Status](server-status-variables.html#statvar_dragnet.Status)`: 最近分配给 dragnet.log 的结果\_错误\_筛选\_规则。在 MySQL 8.0.12 中添加。 - `[dragnet.log_error_filter_rules](服务器系统变量.html#sysvar_dragnet.log_error_filter_rules)`:错误记录的过滤规则。在 MySQL 8.0.4 中添加。 - `[early-plugin-load](server-options.html#option_mysqld_early-plugin-load)`:在加载强制性内置插件之前和存储引擎初始化之前指定要加载的插件。在 MySQL 8.0.0 中添加。 - `[generated_random_password_length](服务器系统变量.html#sysvar_generated_random_password_length)`:生成密码的最大长度。在 MySQL 8.0.18 中添加。 - `[global_connection_memory_limit](服务器系统变量.html#sysvar_global_connection_memory_limit)`:所有用户连接可以使用的最大内存总量。虽然全球\_联系\_内存超过这个数量,来自普通用户的任何新查询都会被拒绝。不适用于 MySQL root 等系统用户。在 MySQL 8.0.28 中添加。 - `[global_connection_memory_tracking](服务器系统变量.html#sysvar_global_connection_memory_tracking)`: 是否计算全局连接内存使用量(如 Global 所示\_联系\_记忆);默认为禁用。在 MySQL 8.0.28 中添加。 - `[group_replication_advertise_recovery_endpoints](group-replication-options.html#sysvar_group_replication_advertise_recovery_endpoints)`:为分布式恢复提供的连接。在 MySQL 8.0.21 中添加。 - `[group_replication_autorejoin_tries](group-replication-options.html#sysvar_group_replication_autorejoin_tries)`:成员自动重新加入组的尝试次数。在 MySQL 8.0.16 中添加。 - `[group_replication_clone_threshold](group-replication-options.html#sysvar_group_replication_clone_threshold)`: 供方和接收方之间的交易数量差距,超过该差距使用远程克隆操作进行状态转移。在 MySQL 8.0.17 中添加。 - `[group_replication_communication_debug_options](group-replication-options.html#sysvar_group_replication_communication_debug_options)`:组复制组件的调试消息级别。在 MySQL 8.0.3 中添加。 - `[group_replication_communication_max_message_size](组复制选项.html#sysvar_group_replication_communication_max_message_size)`:组复制通信的最大消息大小,较大的消息被分段。在 MySQL 8.0.16 中添加。 - `[group_replication_communication_stack](组复制选项.html#sysvar_group_replication_communication_stack)`:指定是使用XCom 通信栈还是MySQL 通信栈来建立成员之间的组通信连接。在MySQL 8.0.27 中添加。\[group_replication_consistency](group-replication-options.html#sysvar_group_replication_consistency) - `: 组提供的事务一致性保证类型。`在 MySQL 8.0.14 中添加。\[group_replication_exit_state_action](group-replication-options.html#sysvar_group_replication_exit_state_action) - `: 实例非自愿离开组时的行为。`在 MySQL 8.0.12 中添加。\[group_replication_flow_control_hold_percent](group-replication-options.html#sysvar_group_replication_flow_control_hold_percent) - `:未使用的组配额百分比。`在 MySQL 8.0.2 中添加。\[group_replication_flow_control_max_commit_quota](group-replication-options.html#sysvar_group_replication_flow_control_max_commit_quota) - `:组的最大流量控制配额。`在 MySQL 8.0.2 中添加。\[group_replication_flow_control_member_quota_percent](group-replication-options.html#sysvar_group_replication_flow_control_member_quota_percent) - `:在计算配额时,成员应承担的配额百分比可供自己使用。`在 MySQL 8.0.2 中添加。 - `[group_replication_flow_control_min_quota](group-replication-options.html#sysvar_group_replication_flow_control_min_quota)`:每个成员可以分配的最低流量控制配额。在 MySQL 8.0.2 中添加。 - `[group_replication_flow_control_min_recovery_quota](group-replication-options.html#sysvar_group_replication_flow_control_min_recovery_quota)`:可以为每个成员分配的最低配额,因为另一个组成员正在恢复。在 MySQL 8.0.2 中添加。 - `[group_replication_flow_control_period](group-replication-options.html#sysvar_group_replication_flow_control_period)`:定义流控制迭代之间等待的秒数。在 MySQL 8.0.2 中添加。 - `[group_replication_flow_control_release_percent](group-replication-options.html#sysvar_group_replication_flow_control_release_percent)`:当流量控制不再需要限制写入器成员时,应该如何释放组配额。在 MySQL 8.0.2 中添加。 - `[group_replication_ip_allowlist](group-replication-options.html#sysvar_group_replication_ip_allowlist)`:允许连接到组的主机列表(MySQL 8.0.22 及更高版本)。在 MySQL 8.0.22 中添加。 - `[group_replication_member_expel_timeout](group-replication-options.html#sysvar_group_replication_member_expel_timeout)`:从组成员疑似故障到将其逐出组之间的时间,从而导致组成员身份重新配置。在 MySQL 8.0.13 中添加。 - `[group_replication_member_weight](group-replication-options.html#sysvar_group_replication_member_weight)`:该成员被选为主要成员的机会。在 MySQL 8.0.2 中添加。 - `[group_replication_message_cache_size](group-replication-options.html#sysvar_group_replication_message_cache_size)`:组通信引擎消息缓存 (XCom) 的最大内存。在 MySQL 8.0.16 中添加。 - `[group_replication_paxos_single_leader](group-replication-options.html#sysvar_group_replication_paxos_single_leader)`:在单主模式下使用单个共识领导者。在 MySQL 8.0.27 中添加。 - `[group_replication_recovery_compression_algorithms](group-replication-options.html#sysvar_group_replication_recovery_compression_algorithms)`:允许用于传出恢复连接的压缩算法。在 MySQL 8.0.18 中添加。 - `[group_replication_recovery_get_public_key](group-replication-options.html#sysvar_group_replication_recovery_get_public_key)`: 是否接受从捐赠者那里获取公钥的偏好。在 MySQL 8.0.4 中添加。 - `[group_replication_recovery_public_key_path](group-replication-options.html#sysvar_group_replication_recovery_public_key_path)`:接受公钥信息。在 MySQL 8.0.4 中添加。 - `[group_replication_recovery_tls_ciphersuites](group-replication-options.html#sysvar_group_replication_recovery_tls_ciphersuites)`:当 TLSv1.3 用于连接加密时允许的密码套件,此实例作为客户端(加入成员)。在 MySQL 8.0.19 中添加。 - `[group_replication_recovery_tls_version](group-replication-options.html#sysvar_group_replication_recovery_tls_version)`:允许 TLS 协议作为客户端(加入成员)进行连接加密。在 MySQL 8.0.19 中添加。 - `[group_replication_recovery_zstd_compression_level](group-replication-options.html#sysvar_group_replication_recovery_zstd_compression_level)`:使用 zstd 压缩的恢复连接的压缩级别。在 MySQL 8.0.18 中添加。 - `[group_replication_tls_source](group-replication-options.html#sysvar_group_replication_tls_source)`:用于组复制的 TLS 材料的来源。在 MySQL 8.0.21 中添加。 - `[group_replication_unreachable_majority_timeout](组复制选项.html#sysvar_group_replication_unreachable_majority_timeout)`: 等待网络分区导致少数人离开组的时间。在 MySQL 8.0.2 中添加。 - `[group_replication_view_change_uuid](group-replication-options.html#sysvar_group_replication_view_change_uuid)`:视图更改事件 GTID 的 UUID。在 MySQL 8.0.26 中添加。 - `[histogram_generation_max_mem_size](服务器系统变量.html#sysvar_histogram_generation_max_mem_size)`:创建直方图统计的最大内存。在 MySQL 8.0.2 中添加。 - `[immediate_server_version](replication-options-source.html#sysvar_immediate_server_version)`: MySQL 服务器版本号的服务器,它是立即复制源。在 MySQL 8.0.14 中添加。 - `[information_schema_stats_expiry](服务器系统变量.html#sysvar_information_schema_stats_expiry)`:缓存表统计信息的过期设置。在 MySQL 8.0.3 中添加。 - `[init_replica](复制选项-replica.html#sysvar_init_replica)`:副本连接到源时执行的语句。在 MySQL 8.0.26 中添加。 - `[innodb_buffer_pool_debug](innodb-parameters.html#sysvar_innodb_buffer_pool_debug)`:当缓冲池大小小于 1GB 时,允许多个缓冲池实例。在 MySQL 8.0.0 中添加。 - `[innodb_buffer_pool_in_core_file](innodb-parameters.html#sysvar_innodb_buffer_pool_in_core_file)`:控制将缓冲池页面写入核心文件。在 MySQL 8.0.14 中添加。 - `[innodb_checkpoint_disabled](innodb-parameters.html#sysvar_innodb_checkpoint_disabled)`:禁用检查点,以便故意退出服务器始终启动恢复。在 MySQL 8.0.2 中添加。 - `[innodb_ddl_buffer_size](innodb-parameters.html#sysvar_innodb_ddl_buffer_size)`: DDL 操作的最大缓冲区大小。在 MySQL 8.0.27 中添加。 - `[innodb_ddl_log_crash_reset_debug](innodb-parameters.html#sysvar_innodb_ddl_log_crash_reset_debug)`:重置 DDL 日志崩溃注入计数器的调试选项。在 MySQL 8.0.3 中添加。 - `[innodb_ddl_threads](innodb-parameters.html#sysvar_innodb_ddl_threads)`: 创建索引的最大并行线程数。在 MySQL 8.0.27 中添加。 - `[innodb_deadlock_detect](innodb-parameters.html#sysvar_innodb_deadlock_detect)`:启用或禁用死锁检测。在 MySQL 8.0.0 中添加。 - `[innodb_dedicated_server](innodb-parameters.html#sysvar_innodb_dedicated_server)`:启用缓冲池大小、日志文件大小和刷新方法的自动配置。在 MySQL 8.0.3 中添加。 - `[innodb_directories](innodb-parameters.html#sysvar_innodb_directories)`:定义在启动时扫描表空间数据文件的目录。在 MySQL 8.0.4 中添加。 - `[innodb_doublewrite_batch_size](innodb-parameters.html#sysvar_innodb_doublewrite_batch_size)`:每批要写入的双写页数。在 MySQL 8.0.20 中添加。 - `[innodb_doublewrite_dir](innodb-parameters.html#sysvar_innodb_doublewrite_dir)`: 双写缓冲区文件目录。在 MySQL 8.0.20 中添加。 - `[innodb_doublewrite_files](innodb-parameters.html#sysvar_innodb_doublewrite_files)`:双写文件的数量。在 MySQL 8.0.20 中添加。 - `[innodb_doublewrite_pages](innodb-parameters.html#sysvar_innodb_doublewrite_pages)`:每个线程的双写页数。在 MySQL 8.0.20 中添加。 - `[innodb_extend_and_initialize](innodb-parameters.html#sysvar_innodb_extend_and_initialize)`:控制如何在 Linux 上分配新的表空间页面。在 MySQL 8.0.22 中添加。 - `[innodb_fsync_threshold](innodb-parameters.html#sysvar_innodb_fsync_threshold)`:控制 InnoDB 在创建新文件时调用 fsync 的频率。在 MySQL 8.0.13 中添加。 - `[innodb_idle_flush_pct](innodb-parameters.html#sysvar_innodb_idle_flush_pct)`:当 InnoDB 空闲时限制 I/0 操作。在 MySQL 8.0.18 中添加。 - `[innodb_log_checkpoint_fuzzy_now](innodb-parameters.html#sysvar_innodb_log_checkpoint_fuzzy_now)`:强制 InnoDB 写入模糊检查点的调试选项。在 MySQL 8.0.13 中添加。 - `[innodb_log_spin_cpu_abs_lwm](innodb-parameters.html#sysvar_innodb_log_spin_cpu_abs_lwm)`:在等待刷新重做时,用户线程不再旋转的最小 CPU 使用量。在 MySQL 8.0.11 中添加。 - `[innodb_log_spin_cpu_pct_hwm](innodb-parameters.html#sysvar_innodb_log_spin_cpu_pct_hwm)`:在等待刷新重做时用户线程不再旋转的最大 CPU 使用量。在 MySQL 8.0.11 中添加。 - `[innodb_log_wait_for_flush_spin_hwm](innodb-parameters.html#sysvar_innodb_log_wait_for_flush_spin_hwm)`:最大平均日志刷新时间,超过该时间用户线程在等待刷新重做时不再旋转。在 MySQL 8.0.11 中添加。 - `[innodb_log_writer_threads](innodb-parameters.html#sysvar_innodb_log_writer_threads)`:启用专用的日志写入线程来写入和刷新重做日志。在 MySQL 8.0.22 中添加。 - `[innodb_parallel_read_threads](innodb-parameters.html#sysvar_innodb_parallel_read_threads)`:并行索引读取的线程数。在 MySQL 8.0.14 中添加。 - `[innodb_print_ddl_logs](innodb-parameters.html#sysvar_innodb_print_ddl_logs)`: 是否将 DDL 日志打印到错误日志。在 MySQL 8.0.3 中添加。 - `[innodb_redo_log_archive_dirs](innodb-parameters.html#sysvar_innodb_redo_log_archive_dirs)`: 标记重做日志归档目录。在 MySQL 8.0.17 中添加。 - `[innodb_redo_log_encrypt](innodb-parameters.html#sysvar_innodb_redo_log_encrypt)`:控制加密表空间的重做日志数据的加密。在 MySQL 8.0.1 中添加。 - `innodb_scan_directories`:定义在 InnoDB 恢复期间扫描表空间文件的目录。在 MySQL 8.0.2 中添加。 - `[innodb_segment_reserve_factor](innodb-parameters.html#sysvar_innodb_segment_reserve_factor)`:保留为空页的表空间文件段页的百分比。在 MySQL 8.0.26 中添加。 - `[innodb_spin_wait_pause_multiplier](innodb-parameters.html#sysvar_innodb_spin_wait_pause_multiplier)`:用于确定自旋等待循环中 PAUSE 指令数量的乘数值。在 MySQL 8.0.16 中添加。 - `[innodb_stats_include_delete_marked](innodb-parameters.html#sysvar_innodb_stats_include_delete_marked)`:在计算持久 InnoDB 统计信息时包括删除标记的记录。在 MySQL 8.0.1 中添加。 - `[innodb_temp_tablespaces_dir](innodb-parameters.html#sysvar_innodb_temp_tablespaces_dir)`:会话临时表空间路径。在 MySQL 8.0.13 中添加。 - `[innodb_tmpdir](innodb-parameters.html#sysvar_innodb_tmpdir)`:在线 ALTER TABLE 操作期间创建的临时表文件的目录位置。在 MySQL 8.0.0 中添加。 - `[innodb_undo_log_encrypt](innodb-parameters.html#sysvar_innodb_undo_log_encrypt)`:控制加密表空间的撤消日志数据的加密。在 MySQL 8.0.1 中添加。 - `[innodb_use_fdatasync](innodb-parameters.html#sysvar_innodb_use_fdatasync)`: InnoDB 在向操作系统刷新数据时是否使用 fdatasync() 而不是 fsync()。在 MySQL 8.0.26 中添加。 - `[innodb_validate_tablespace_paths](innodb-parameters.html#sysvar_innodb_validate_tablespace_paths)`:在启动时启用表空间路径验证。在 MySQL 8.0.21 中添加。 - `[internal_tmp_mem_storage_engine](服务器系统变量.html#sysvar_internal_tmp_mem_storage_engine)`:用于内部内存临时表的存储引擎。在 MySQL 8.0.2 中添加。 - `[keyring-migration-destination](keyring-options.html#option_mysqld_keyring-migration-destination)`:密钥迁移目的地密钥环插件。在 MySQL 8.0.4 中添加。 - `[keyring-migration-host](keyring-options.html#option_mysqld_keyring-migration-host)`:用于连接到正在运行的服务器以进行密钥迁移的主机名。在 MySQL 8.0.4 中添加。 - `[keyring-migration-password](keyring-options.html#option_mysqld_keyring-migration-password)`:用于连接到正在运行的服务器以进行密钥迁移的密码。在 MySQL 8.0.4 中添加。 - `[keyring-migration-port](keyring-options.html#option_mysqld_keyring-migration-port)`:用于连接到正在运行的服务器以进行密钥迁移的 TCP/IP 端口号。在 MySQL 8.0.4 中添加。 - `[keyring-migration-socket](keyring-options.html#option_mysqld_keyring-migration-socket)`:用于连接到正在运行的服务器以进行密钥迁移的 Unix 套接字文件或 Windows 命名管道。在 MySQL 8.0.4 中添加。 - `[keyring-migration-source](keyring-options.html#option_mysqld_keyring-migration-source)`:密钥迁移源密钥环插件。在 MySQL 8.0.4 中添加。 - `[keyring-migration-to-component](keyring-options.html#option_mysqld_keyring-migration-to-component)`:密钥环迁移是从插件到组件。在 MySQL 8.0.24 中添加。 - `[keyring-migration-user](keyring-options.html#option_mysqld_keyring-migration-user)`: 用于连接运行服务器进行密钥迁移的用户名。在 MySQL 8.0.4 中添加。 - `[keyring_aws_cmk_id](keyring-system-variables.html#sysvar_keyring_aws_cmk_id)`:AWS 密钥环插件客户主密钥 ID 值。在 MySQL 8.0.11 中添加。 - `[keyring_aws_conf_file](keyring-system-variables.html#sysvar_keyring_aws_conf_file)`:AWS 密钥环插件配置文件位置。在 MySQL 8.0.11 中添加。 - `[keyring_aws_data_file](keyring-system-variables.html#sysvar_keyring_aws_data_file)`:AWS 密钥环插件存储文件位置。在 MySQL 8.0.11 中添加。 - `[keyring_aws_region](keyring-system-variables.html#sysvar_keyring_aws_region)`:AWS 密钥环插件区域。在 MySQL 8.0.11 中添加。 - `[keyring_encrypted_file_data](keyring-system-variables.html#sysvar_keyring_encrypted_file_data)`: 钥匙圈\_加密的\_文件插件数据文件。在 MySQL 8.0.11 中添加。 - `[keyring_encrypted_file_password](keyring-system-variables.html#sysvar_keyring_encrypted_file_password)`: 钥匙圈\_加密的\_文件插件密码。在 MySQL 8.0.11 中添加。 - `[keyring_hashicorp_auth_path](keyring-system-variables.html#sysvar_keyring_hashicorp_auth_path)`:HashiCorp Vault AppRole 身份验证路径。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_ca_path](keyring-system-variables.html#sysvar_keyring_hashicorp_ca_path)`: 钥匙圈的路径\_hashcorp CA 文件。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_caching](keyring-system-variables.html#sysvar_keyring_hashicorp_caching)`: 是否开启密钥环\_hashcorp 缓存。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_auth_path](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_auth_path)`: 钥匙圈\_哈希公司\_授权\_使用中的路径值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_ca_path](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_ca_path)`: 钥匙圈\_哈希公司\_约\_使用中的路径值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_caching](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_caching)`: 钥匙圈\_哈希公司\_缓存使用中的值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_role_id](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_role_id)`: 钥匙圈\_哈希公司\_角色\_使用中的 id 值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_server_url](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_server_url)`: 钥匙圈\_哈希公司\_服务器\_正在使用的 url 值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_commit_store_path](keyring-system-variables.html#sysvar_keyring_hashicorp_commit_store_path)`: 钥匙圈\_哈希公司\_店铺\_使用中的路径值。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_role_id](keyring-system-variables.html#sysvar_keyring_hashicorp_role_id)`: HashiCorp Vault AppRole 身份验证角色 ID。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_secret_id](keyring-system-variables.html#sysvar_keyring_hashicorp_secret_id)`: HashiCorp Vault AppRole 身份验证秘密 ID。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_server_url](keyring-system-variables.html#sysvar_keyring_hashicorp_server_url)`: HashiCorp Vault 服务器 URL。在 MySQL 8.0.18 中添加。 - `[keyring_hashicorp_store_path](keyring-system-variables.html#sysvar_keyring_hashicorp_store_path)`: HashiCorp Vault 存储路径。在 MySQL 8.0.18 中添加。 - `[keyring_oci_ca_certificate](keyring-system-variables.html#sysvar_keyring_oci_ca_certificate)`:用于对等身份验证的 CA 证书文件。在 MySQL 8.0.22 中添加。 - `[keyring_oci_compartment](keyring-system-variables.html#sysvar_keyring_oci_compartment)`:OCI 隔间 OCID。在 MySQL 8.0.22 中添加。 - `[keyring_oci_encryption_endpoint](keyring-system-variables.html#sysvar_keyring_oci_encryption_endpoint)`:OCI 加密服务器端点。在 MySQL 8.0.22 中添加。 - `[keyring_oci_key_file](keyring-system-variables.html#sysvar_keyring_oci_key_file)`: OCI RSA 私钥文件。在 MySQL 8.0.22 中添加。 - `[keyring_oci_key_fingerprint](keyring-system-variables.html#sysvar_keyring_oci_key_fingerprint)`:OCI RSA 私钥文件指纹。在 MySQL 8.0.22 中添加。 - `[keyring_oci_management_endpoint](keyring-system-variables.html#sysvar_keyring_oci_management_endpoint)`:OCI 管理服务器端点。在 MySQL 8.0.22 中添加。 - `[keyring_oci_master_key](keyring-system-variables.html#sysvar_keyring_oci_master_key)`:OCI主密钥OCID。在 MySQL 8.0.22 中添加。 - `[keyring_oci_secrets_endpoint](keyring-system-variables.html#sysvar_keyring_oci_secrets_endpoint)`:OCI 机密服务器端点。在 MySQL 8.0.22 中添加。 - `[keyring_oci_tenancy](keyring-system-variables.html#sysvar_keyring_oci_tenancy)`:OCI 租赁OCID。在 MySQL 8.0.22 中添加。 - `[keyring_oci_user](keyring-system-variables.html#sysvar_keyring_oci_user)`:OCI用户OCID。在 MySQL 8.0.22 中添加。 - `[keyring_oci_vaults_endpoint](keyring-system-variables.html#sysvar_keyring_oci_vaults_endpoint)`:OCI 保管库服务器端点。在 MySQL 8.0.22 中添加。 - `[keyring_oci_virtual_vault](keyring-system-variables.html#sysvar_keyring_oci_virtual_vault)`: OCI 保险库 OCID。在 MySQL 8.0.22 中添加。 - `[keyring_okv_conf_dir](keyring-system-variables.html#sysvar_keyring_okv_conf_dir)`:Oracle Key Vault 密钥环插件配置目录。在 MySQL 8.0.11 中添加。 - `[keyring_operations](keyring-system-variables.html#sysvar_keyring_operations)`:是否启用密钥环操作。在 MySQL 8.0.4 中添加。 - `[lock_order](lock-order-tool.html#sysvar_lock_order)`: 是否开启LOCK\_运行时的 ORDER 工具。在 MySQL 8.0.17 中添加。 - `[lock_order_debug_loop](lock-order-tool.html#sysvar_lock_order_debug_loop)`: LOCK 时是否触发调试断言\_ORDER 工具遇到标记为循环的依赖项。在 MySQL 8.0.17 中添加。 - `[lock_order_debug_missing_arc](lock-order-tool.html#sysvar_lock_order_debug_missing_arc)`: LOCK 时是否触发调试断言\_ORDER 工具遇到未声明的依赖项。在 MySQL 8.0.17 中添加。 - `[lock_order_debug_missing_key](lock-order-tool.html#sysvar_lock_order_debug_missing_key)`: LOCK 时是否触发调试断言\_ORDER 工具遇到未使用 Performance Schema 正确检测的对象。在 MySQL 8.0.17 中添加。 - `[lock_order_debug_missing_unlock](lock-order-tool.html#sysvar_lock_order_debug_missing_unlock)`: LOCK 时是否触发调试断言\_ORDER 工具遇到在仍持有时被破坏的锁。在 MySQL 8.0.17 中添加。 - `[lock_order_dependencies](lock-order-tool.html#sysvar_lock_order_dependencies)`: 锁定路径\_命令\_依赖项.txt 文件。在 MySQL 8.0.17 中添加。 - `[lock_order_extra_dependencies](lock-order-tool.html#sysvar_lock_order_extra_dependencies)`: 第二个依赖文件的路径。在 MySQL 8.0.17 中添加。 - `[lock_order_output_directory](lock-order-tool.html#sysvar_lock_order_output_directory)`: LOCK所在的目录\_ORDER 工具写入日志。在 MySQL 8.0.17 中添加。 - `[lock_order_print_txt](lock-order-tool.html#sysvar_lock_order_print_txt)`:是否进行锁单图表分析和打印文本报告。在 MySQL 8.0.17 中添加。 - `[lock_order_trace_loop](lock-order-tool.html#sysvar_lock_order_trace_loop)`: LOCK 时是否打印日志文件跟踪\_ORDER 工具遇到标记为循环的依赖项。在 MySQL 8.0.17 中添加。 - `[lock_order_trace_missing_arc](lock-order-tool.html#sysvar_lock_order_trace_missing_arc)`: LOCK 时是否打印日志文件跟踪\_ORDER 工具遇到未声明的依赖项。在 MySQL 8.0.17 中添加。 - `[lock_order_trace_missing_key](lock-order-tool.html#sysvar_lock_order_trace_missing_key)`: LOCK 时是否打印日志文件跟踪\_ORDER 工具遇到未使用 Performance Schema 正确检测的对象。在 MySQL 8.0.17 中添加。 - `[lock_order_trace_missing_unlock](lock-order-tool.html#sysvar_lock_order_trace_missing_unlock)`: LOCK 时是否打印日志文件跟踪\_ORDER 工具遇到在仍持有时被破坏的锁。在 MySQL 8.0.17 中添加。 - `log_error_filter_rules`:错误记录的过滤规则。在 MySQL 8.0.2 中添加。 - `[log_error_services](服务器系统变量.html#sysvar_log_error_services)`:用于错误记录的组件。在 MySQL 8.0.2 中添加。 - `[log_error_suppression_list](服务器系统变量.html#sysvar_log_error_suppression_list)`:要抑制的警告/信息错误日志消息。在 MySQL 8.0.13 中添加。 - `[log_replica_updates](复制选项-二进制-log.html#sysvar_log_replica_updates)`:副本是否应将其复制 SQL 线程执行的更新记录到自己的二进制日志中。在 MySQL 8.0.26 中添加。 - `[log_slow_extra](服务器系统变量.html#sysvar_log_slow_extra)`: 是否将额外信息写入慢查询日志文件。在 MySQL 8.0.14 中添加。 - `[log_slow_replica_statements](复制选项-replica.html#sysvar_log_slow_replica_statements)`:导致副本执行的慢语句写入慢查询日志。在 MySQL 8.0.26 中添加。 - `[mandatory_roles](服务器系统变量.html#sysvar_mandatory_roles)`:自动为所有用户授予角色。在 MySQL 8.0.2 中添加。 - `[mysql_firewall_mode](firewall-reference.html#sysvar_mysql_firewall_mode)`: MySQL Enterprise Firewall 是否可操作。在 MySQL 8.0.11 中添加。 - `[mysql_firewall_trace](firewall-reference.html#sysvar_mysql_firewall_trace)`:是否启用防火墙跟踪。在 MySQL 8.0.11 中添加。 - `[mysqlx](x-plugin-options-system-variables.html#option_mysqld_mysqlx)`: X Plugin 是否初始化。在 MySQL 8.0.11 中添加。 - `[mysqlx_compression_algorithms](x-plugin-options-system-variables.html#sysvar_mysqlx_compression_algorithms)`: X 协议连接允许的压缩算法。在 MySQL 8.0.19 中添加。 - `[mysqlx_deflate_default_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_deflate_default_compression_level)`:X 协议连接上 Deflate 算法的默认压缩级别。在 MySQL 8.0.20 中添加。 - `[mysqlx_deflate_max_client_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_deflate_max_client_compression_level)`:X 协议连接上 Deflate 算法的最大允许压缩级别。在 MySQL 8.0.20 中添加。 - `[mysqlx_interactive_timeout](x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout)`:等待交互式客户端超时的秒数。在 MySQL 8.0.4 中添加。 - `[mysqlx_lz4_default_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_lz4_default_compression_level)`:X 协议连接上 LZ4 算法的默认压缩级别。在 MySQL 8.0.20 中添加。 - `[mysqlx_lz4_max_client_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_lz4_max_client_compression_level)`: X 协议连接上 LZ4 算法的最大允许压缩级别。在 MySQL 8.0.20 中添加。 - `[mysqlx_read_timeout](x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout)`:等待阻塞读取操作完成的秒数。在 MySQL 8.0.4 中添加。 - `[mysqlx_wait_timeout](x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout)`:等待连接活动的秒数。在 MySQL 8.0.4 中添加。 - `[mysqlx_write_timeout](x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout)`: 等待阻塞写操作完成的秒数。在 MySQL 8.0.4 中添加。 - `[mysqlx_zstd_default_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_zstd_default_compression_level)`:X 协议连接上 zstd 算法的默认压缩级别。在 MySQL 8.0.20 中添加。 - `[mysqlx_zstd_max_client_compression_level](x-plugin-options-system-variables.html#sysvar_mysqlx_zstd_max_client_compression_level)`: X 协议连接上 zstd 算法的最大允许压缩级别。在 MySQL 8.0.20 中添加。 - `[named_pipe_full_access_group](服务器系统变量.html#sysvar_named_pipe_full_access_group)`: Windows 组的名称被授予对命名管道的完全访问权限。在 MySQL 8.0.14 中添加。 - `[no-dd-upgrade](server-options.html#option_mysqld_no-dd-upgrade)`:防止在启动时自动升级数据字典表。在 MySQL 8.0.4 中添加。 - `[no-monitor](server-options.html#option_mysqld_no-monitor)`:不要 fork 重新启动所需的监视器进程。在 MySQL 8.0.12 中添加。 - `[original_commit_timestamp](复制选项二进制日志.html#sysvar_original_commit_timestamp)`:在原始源上提交事务的时间。在 MySQL 8.0.1 中添加。 - `[original_server_version](复制选项-source.html#sysvar_original_server_version)`:最初提交事务的服务器的 MySQL 服务器版本号。在 MySQL 8.0.14 中添加。 - `[partial_revokes](服务器系统变量.html#sysvar_partial_revokes)`:是否启用部分撤销。在 MySQL 8.0.16 中添加。 - `[password_history](server-system-variables.html#sysvar_password_history)`:密码重用前需要更改密码的次数。在 MySQL 8.0.3 中添加。 - `[password_require_current](server-system-variables.html#sysvar_password_require_current)`:密码更改是否需要当前密码验证。在 MySQL 8.0.13 中添加。 - `[password_reuse_interval](server-system-variables.html#sysvar_password_reuse_interval)`:密码重用前所需的天数。在 MySQL 8.0.3 中添加。 - `[性能-模式-消费者-事件-语句-cpu](性能-模式-选项.html#option_mysqld_性能-模式-消费者-事件-语句-cpu)`: 配置语句 CPU 使用消费者。在 MySQL 8.0.28 中添加。 - `[performance_schema_max_digest_sample_age](performance-schema-system-variables.html#sysvar_performance_schema_max_digest_sample_age)`:以秒为单位查询重采样年龄。在 MySQL 8.0.3 中添加。 - `[performance_schema_show_processlist](performance-schema-system-variables.html#sysvar_performance_schema_show_processlist)`: 选择 SHOW PROCESSLIST 实现。在 MySQL 8.0.22 中添加。 - `[persist_only_admin_x509_subject](服务器系统变量.html#sysvar_persist_only_admin_x509_subject)`: SSL 证书 X.509 主题,启用持久性受限系统变量。在 MySQL 8.0.14 中添加。 - `[persisted_globals_load](服务器系统变量.html#sysvar_persisted_globals_load)`: 是否加载持久化配置设置。在 MySQL 8.0.0 中添加。 - `[print_identified_with_as_hex](服务器系统变量.html#sysvar_print_identified_with_as_hex)`:对于 SHOW CREATE USER,以十六进制打印包含不可打印字符的哈希值。在 MySQL 8.0.17 中添加。 - `[protocol_compression_algorithms](server-system-variables.html#sysvar_protocol_compression_algorithms)`:允许传入连接的压缩算法。在 MySQL 8.0.18 中添加。 - `[pseudo_replica_mode](server-system-variables.html#sysvar_pseudo_replica_mode)`: 供内部服务器使用。在 MySQL 8.0.26 中添加。 - `[regexp_stack_limit](服务器系统变量.html#sysvar_regexp_stack_limit)`:正则表达式匹配堆栈大小限制。在 MySQL 8.0.4 中添加。 - `[regexp_time_limit](服务器系统变量.html#sysvar_regexp_time_limit)`: 正则表达式匹配超时。在 MySQL 8.0.4 中添加。 - `[replica_checkpoint_group](replication-options-replica.html#sysvar_replica_checkpoint_group)`:在调用检查点操作更新进度状态之前,多线程副本处理的最大事务数。NDB Cluster 不支持。在 MySQL 8.0.26 中添加。 - `[replica_checkpoint_period](replication-options-replica.html#sysvar_replica_checkpoint_period)`:在此毫秒数后更新多线程副本的进度状态并将中继日志信息刷新到磁盘。NDB Cluster 不支持。在 MySQL 8.0.26 中添加。 - `[replica_compressed_protocol](replication-options-replica.html#sysvar_replica_compressed_protocol)`:使用源/副本协议的压缩。在 MySQL 8.0.26 中添加。 - `[replica_exec_mode](replication-options-replica.html#sysvar_replica_exec_mode)`:允许在 IDEMPOTENT 模式(键和其他一些错误被抑制)和 STRICT 模式之间切换复制线程;STRICT 模式是默认的,除了 NDB Cluster,其中始终使用 IDEMPOTENT。在 MySQL 8.0.26 中添加。 - `[replica_load_tmpdir](复制选项-replica.html#sysvar_replica_load_tmpdir)`:复制 LOAD DATA 语句时副本应放置其临时文件的位置。在 MySQL 8.0.26 中添加。 - `[replica_max_allowed_pa​​cket](复制选项-replica.html#sysvar_replica_max_allowed_pa​​cket)`:可以从复制源服务器发送到副本的数据包的最大大小,以字节为单位;覆盖最大值\_允许\_包。在 MySQL 8.0.26 中添加。 - `[replica_net_timeout](复制选项-replica.html#sysvar_replica_net_timeout)`:在中止读取之前等待来自源/副本连接的更多数据的秒数。在 MySQL 8.0.26 中添加。 - `[replica_parallel_type](replication-options-replica.html#sysvar_replica_parallel_type)`:告诉副本使用时间戳信息(LOGICAL_CLOCK) 或数据库分区 (DATABASE) 以并行化事务。在 MySQL 8.0.26 中添加。 - `[replica_parallel_workers](replication-options-replica.html#sysvar_replica_parallel_workers)`:用于并行执行复制事务的应用程序线程数;0 禁用副本多线程。MySQL 集群:参见文档。在 MySQL 8.0.26 中添加。 - `[replica_pending_jobs_size_max](replication-options-replica.html#sysvar_replica_pending_jobs_size_max)`:持有尚未应用的事件的副本工作队列的最大大小。在 MySQL 8.0.26 中添加。 - `[replica_preserve_commit_order](replication-options-replica.html#sysvar_replica_preserve_commit_order)`:确保副本工作者的所有提交以与源上相同的顺序发生,以在使用并行应用程序线程时保持一致性。在 MySQL 8.0.26 中添加。 - `[replica_skip_errors](replication-options-replica.html#sysvar_replica_skip_errors)`:当查询从提供的列表返回错误时,告诉复制线程继续复制。在 MySQL 8.0.26 中添加。 - `[replica_sql_verify_checksum](replication-options-replica.html#sysvar_replica_sql_verify_checksum)`: 导致副本在读取中继日志时检查校验和。在 MySQL 8.0.26 中添加。 - `[replica_transaction_retries](replication-options-replica.html#sysvar_replica_transaction_retries)`:复制 SQL 线程在放弃和停止之前重试事务的次数,以防它因死锁或经过的锁等待超时而失败。在 MySQL 8.0.26 中添加。 - `[replica_type_conversions](replication-options-replica.html#sysvar_replica_type_conversions)`:控制副本上的类型转换模式。值是此列表中零个或多个元素的列表:ALL\_有损,所有\_非\_有损。设置为空字符串以禁止源和副本之间的类型转换。在 MySQL 8.0.26 中添加。 - `[replication_optimize_for_static_plugin_config](replication-options-replica.html#sysvar_replication_optimize_for_static_plugin_config)`: 用于半同步复制的共享锁。在 MySQL 8.0.23 中添加。 - `[replication_sender_observe_commit_only](replication-options-replica.html#sysvar_replication_sender_observe_commit_only)`:半同步复制的有限回调。在 MySQL 8.0.23 中添加。 - `[require_row_format](服务器系统变量.html#sysvar_require_row_format)`: 供内部服务器使用。在 MySQL 8.0.19 中添加。 - `[resultset_metadata](server-system-variables.html#sysvar_resultset_metadata)`:服务器是否返回结果集元数据。在 MySQL 8.0.3 中添加。 - `[rpl_read_size](复制选项-replica.html#sysvar_rpl_read_size)`:设置从二进制日志文件和中继日志文件读取的最小数据量(以字节为单位)。在 MySQL 8.0.11 中添加。 - `[rpl_semi_sync_replica_enabled](复制选项-replica.html#sysvar_rpl_semi_sync_replica_enabled)`:是否在副本上启用半同步复制。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_replica_trace_level](复制选项-replica.html#sysvar_rpl_semi_sync_replica_trace_level)`:副本上的半同步复制调试跟踪级别。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_enabled](复制选项-source.html#sysvar_rpl_semi_sync_source_enabled)`:是否在源上启用半同步复制。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_timeout](复制选项-source.html#sysvar_rpl_semi_sync_source_timeout)`:等待副本确认的毫秒数。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_trace_level](复制选项-source.html#sysvar_rpl_semi_sync_source_trace_level)`:源上的半同步复制调试跟踪级别。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_wait_for_replica_count](复制选项-source.html#sysvar_rpl_semi_sync_source_wait_for_replica_count)`:在继续之前,源必须为每个事务接收的副本确认数。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_wait_no_replica](复制选项-source.html#sysvar_rpl_semi_sync_source_wait_no_replica)`:即使没有副本,源是否也等待超时。在 MySQL 8.0.26 中添加。 - `[rpl_semi_sync_source_wait_point](复制选项-source.html#sysvar_rpl_semi_sync_source_wait_point)`:副本交易接收确认的等待点。在 MySQL 8.0.26 中添加。 - `[rpl_stop_replica_timeout](复制选项-replica.html#sysvar_rpl_stop_replica_timeout)`: STOP REPLICA 在超时前等待的秒数。在 MySQL 8.0.26 中添加。 - `[secondary_engine_cost_threshold](服务器系统变量.html#sysvar_secondary_engine_cost_threshold)`:查询卸载到辅助引擎的优化器成本阈值。在 MySQL 8.0.16 中添加。\[select_into_buffer_size](服务器系统变量.html#sysvar_select_into_buffer_size) - `: 用于 OUTFILE 或 DUMPFILE 导出文件的缓冲区大小;`覆盖读取\_缓冲\_尺寸。在 MySQL 8.0.22 中添加。 - `[select_into_disk_sync](服务器系统变量.html#sysvar_select_into_disk_sync)`: 为 OUTFILE 或 DUMPFILE 导出文件刷新缓冲区后与存储设备同步数据;OFF 禁用同步,是默认值。在 MySQL 8.0.22 中添加。 - `[select_into_disk_sync_delay](服务器系统变量.html#sysvar_select_into_disk_sync_delay)`:选择时\_进入\_同步\_disk = ON,在每次同步 OUTFILE 或 DUMPFILE 导出文件缓冲区后设置延迟(以毫秒为单位),否则无效。在 MySQL 8.0.22 中添加。 - `[show-replica-auth-info](replication-options-source.html#option_mysqld_show-replica-auth-info)`:在此来源的 SHOW REPLICAS 中显示用户名和密码。在 MySQL 8.0.26 中添加。 - `[show_create_table_skip_secondary_engine](服务器系统变量.html#sysvar_show_create_table_skip_secondary_engine)`:是否从 SHOW CREATE TABLE 输出中排除 SECONDARY ENGINE 子句。在 MySQL 8.0.18 中添加。 - `[show_create_table_verbosity](服务器系统变量.html#sysvar_show_create_table_verbosity)`: 是否显示 ROW_SHOW CREATE TABLE 中的 FORMAT 即使它具有默认值。在 MySQL 8.0.11 中添加。 - `[skip-replica-start](replication-options-replica.html#option_mysqld_skip-replica-start)`: 如果设置,复制服务器启动时不会自动启动复制。在 MySQL 8.0.26 中添加。 - `[source_verify_checksum](复制选项二进制日志.html#sysvar_source_verify_checksum)`:导致源在从二进制日志读取时检查校验和。在 MySQL 8.0.26 中添加。 - `[sql_replica_skip_counter](replication-options-replica.html#sysvar_sql_replica_skip_counter)`:副本应跳过的源事件数。与 GTID 复制不兼容。在 MySQL 8.0.26 中添加。 - `[sql_require_primary_key](服务器系统变量.html#sysvar_sql_require_primary_key)`: 表是否必须有主键。在 MySQL 8.0.13 中添加。 - `[ssl_fips_mode](服务器系统变量.html#sysvar_ssl_fips_mode)`:是否在服务器端启用 FIPS 模式。在 MySQL 8.0.11 中添加。 - `[ssl_session_cache_mode](服务器系统变量.html#sysvar_ssl_session_cache_mode)`:是否启用服务器生成会话票证。在 MySQL 8.0.29 中添加。 - `[ssl_session_cache_timeout](服务器系统变量.html#sysvar_ssl_session_cache_timeout)`:以秒为单位的 SSL 会话超时值。在 MySQL 8.0.29 中添加。 - `[sync_source_info](复制选项-replica.html#sysvar_sync_source_info)`: 在每 #th 事件后同步源信息。在 MySQL 8.0.26 中添加。 - `[syseventlog.facility](服务器系统变量.html#sysvar_syseventlog.facility)`:系统日志消息的工具。在 MySQL 8.0.13 中添加。 - `[syseventlog.include_pid](服务器系统变量.html#sysvar_syseventlog.include_pid)`: 是否在 syslog 消息中包含服务器 PID。在 MySQL 8.0.13 中添加。 - `[syseventlog.tag](服务器系统变量.html#sysvar_syseventlog.tag)`:系统日志消息中服务器标识符的标记。在 MySQL 8.0.13 中添加。 - `[table_encryption_privilege_check](服务器系统变量.html#sysvar_table_encryption_privilege_check)`:启用表\_加密\_管理员权限检查。在 MySQL 8.0.16 中添加。 - `[temptable_max_mmap](服务器系统变量.html#sysvar_temptable_max_mmap)`: TempTable 存储引擎可以从内存映射的临时文件中分配的最大内存量。在 MySQL 8.0.23 中添加。 - `[temptable_max_ram](服务器系统变量.html#sysvar_temptable_max_ram)`: 定义 TempTable 存储引擎在数据存储到磁盘之前可以占用的最大内存量。在 MySQL 8.0.2 中添加。 - `[temptable_use_mmap](server-system-variables.html#sysvar_temptable_use_mmap)`: 定义 TempTable 存储引擎在 temptable 时是否分配内存映射文件\_最大限度\_达到 ram 阈值。在 MySQL 8.0.16 中添加。 - `[terminology_use_previous](复制选项-replica.html#sysvar_terminology_use_previous)`:使用指定版本之前的术语,其中更改不兼容。在 MySQL 8.0.26 中添加。 - `[thread_pool_algorithm](服务器系统变量.html#sysvar_thread_pool_algorithm)`:线程池算法。在 MySQL 8.0.11 中添加。 - `[thread_pool_high_priority_connection](服务器系统变量.html#sysvar_thread_pool_high_priority_connection)`: 当前会话是否为高优先级。在 MySQL 8.0.11 中添加。 - `[thread_pool_max_active_query_threads](服务器系统变量.html#sysvar_thread_pool_max_active_query_threads)`:每组允许的最大活动查询线程数。在 MySQL 8.0.19 中添加。 - `[thread_pool_max_unused_threads](服务器系统变量.html#sysvar_thread_pool_max_unused_threads)`:允许的最大未使用线程数。在 MySQL 8.0.11 中添加。 - `[thread_pool_prio_kickup_timer](服务器系统变量.html#sysvar_thread_pool_prio_kickup_timer)`: 语句移动到高优先级执行之前的时间。在 MySQL 8.0.11 中添加。 - `[thread_pool_size](服务器系统变量.html#sysvar_thread_pool_size)`:线程池中的线程组数。在 MySQL 8.0.11 中添加。 - `[thread_pool_stall_limit](服务器系统变量.html#sysvar_thread_pool_stall_limit)`: 多久之前的语句被定义为停滞。在 MySQL 8.0.11 中添加。 - `[tls_ciphersuites](服务器系统变量.html#sysvar_tls_ciphersuites)`:允许的 TLSv1.3 密码套件用于加密连接。在 MySQL 8.0.16 中添加。 - `[升级](服务器选项.html#option_mysqld_upgrade)`:控制启动时自动升级。在 MySQL 8.0.16 中添加。 - `[use_secondary_engine](服务器系统变量.html#sysvar_use_secondary_engine)`:是否使用辅助引擎执行查询。在 MySQL 8.0.13 中添加。 - `[验证配置](服务器选项.html#option_mysqld_validate-config)`:验证服务器配置。在 MySQL 8.0.16 中添加。 - `[validate_password.check_user_name](validate-password-options-variables.html#sysvar_validate_password.check_user_name)`:是否根据用户名检查密码。在 MySQL 8.0.4 中添加。 - `[validate_password.dictionary_file](validate-password-options-variables.html#sysvar_validate_password.dictionary_file)`: 证实\_密码字典文件。在 MySQL 8.0.4 中添加。 - `[validate_password.dictionary_file_last_parsed](validate-password-options-variables.html#statvar_validate_password.dictionary_file_last_parsed)`: 上次解析字典文件的时间。在 MySQL 8.0.4 中添加。 - `[validate_password.dictionary_file_words_count](validate-password-options-variables.html#statvar_validate_password.dictionary_file_words_count)`:字典文件中的单词数。在 MySQL 8.0.4 中添加。 - `[validate_password.length](validate-password-options-variables.html#sysvar_validate_password.length)`: 证实\_密码 所需密码长度。在 MySQL 8.0.4 中添加。 - `[validate_password.mixed_case_count](validate-password-options-variables.html#sysvar_validate_password.mixed_case_count)`: 证实\_密码所需的大写/小写字符数。在 MySQL 8.0.4 中添加。 - `[validate_password.number_count](validate-password-options-variables.html#sysvar_validate_password.number_count)`: 证实\_密码所需的数字字符数。在 MySQL 8.0.4 中添加。 - `[validate_password.policy](validate-password-options-variables.html#sysvar_validate_password.policy)`: 证实\_密码密码策略。在 MySQL 8.0.4 中添加。 - `[validate_password.special_char_count](validate-password-options-variables.html#sysvar_validate_password.special_char_count)`: 证实\_密码所需的特殊字符数。在 MySQL 8.0.4 中添加。 - `[version_compile_zlib](服务器系统变量.html#sysvar_version_compile_zlib)`: 已编译的 zlib 库的版本。在 MySQL 8.0.11 中添加。 - `[windowing_use_high_precision](服务器系统变量.html#sysvar_windowing_use_high_precision)`: 是否计算高精度的窗口函数。在 MySQL 8.0.2 中添加。 ### MySQL 8.0 中弃用的选项和变量 MySQL 8.0 中已弃用以下系统变量、状态变量和选项。 [](<>) - `[压缩](服务器状态变量.html#statvar_Compression)`:客户端连接是否使用客户端/服务器协议中的压缩。在 MySQL 8.0.18 中已弃用。 - `[Slave_open_temp_tables](服务器状态变量.html#statvar_Slave_open_temp_tables)`: 复制 SQL 线程当前打开的临时表的数量。在 MySQL 8.0.26 中已弃用。 - `[Slave_rows_last_search_algorithm_used](服务器状态变量.html#statvar_Slave_rows_last_search_algorithm_used)`:此副本最近使用的搜索算法,用于定位基于行的复制(索引、表或哈希扫描)的行。在 MySQL 8.0.26 中已弃用。 - `[abort-slave-event-count](replication-options-replica.html#option_mysqld_abort-slave-event-count)`: mysql-test 用于调试和测试复制的选项。在 MySQL 8.0.29 中已弃用。 - `[admin-ssl](server-options.html#option_mysqld_admin-ssl)`:启用连接加密。在 MySQL 8.0.26 中已弃用。 - `[default_authentication_plugin](服务器系统变量.html#sysvar_default_authentication_plugin)`:默认身份验证插件。在 MySQL 8.0.27 中已弃用。 - `[disconnect-slave-event-count](replication-options-replica.html#option_mysqld_disconnect-slave-event-count)`: mysql-test 用于调试和测试复制的选项。在 MySQL 8.0.29 中已弃用。 - `[expire_logs_days](复制选项-二进制-log.html#sysvar_expire_logs_days)`: 在这么多天后清除二进制日志。在 MySQL 8.0.3 中已弃用。 - `[group_replication_ip_whitelist](group-replication-options.html#sysvar_group_replication_ip_whitelist)`:允许连接到组的主机列表。在 MySQL 8.0.22 中已弃用。 - `[have_openssl](服务器系统变量.html#sysvar_have_openssl)`: mysqld 是否支持 SSL 连接。在 MySQL 8.0.26 中已弃用。 - `[have_ssl](服务器系统变量.html#sysvar_have_ssl)`: mysqld 是否支持 SSL 连接。在 MySQL 8.0.26 中已弃用。 - `[init_slave](复制选项-replica.html#sysvar_init_slave)`:副本连接到源时执行的语句。在 MySQL 8.0.26 中已弃用。 - `[innodb_undo_tablespaces](innodb-parameters.html#sysvar_innodb_undo_tablespaces)`:划分回滚段的表空间文件的数量。在 MySQL 8.0.4 中已弃用。 - `[log_bin_use_v1_row_events](复制-选项-二进制-log.html#sysvar_log_bin_use_v1_row_events)`:服务器是否使用版本 1 二进制日志行事件。在 MySQL 8.0.18 中已弃用。 - `[log_slave_updates](复制选项-二进制-log.html#sysvar_log_slave_updates)`:副本是否应将其复制 SQL 线程执行的更新记录到自己的二进制日志中。在 MySQL 8.0.26 中已弃用。 - `[log_slow_slave_statements](复制选项-replica.html#sysvar_log_slow_slave_statements)`:导致副本执行的慢语句写入慢查询日志。在 MySQL 8.0.26 中已弃用。 - `[log_syslog](服务器系统变量.html#sysvar_log_syslog)`: 是否将错误日志写入 syslog。在 MySQL 8.0.2 中已弃用。 - `[master-info-file](replication-options-replica.html#option_mysqld_master-info-file)`:记住源的文件的位置和名称以及 I/O 复制线程在源的二进制日志中的位置。在 MySQL 8.0.18 中已弃用。 - `[master_info_repository](replication-options-replica.html#sysvar_master_info_repository)`: 是否将连接元数据存储库,包含源的二进制日志中的源信息和复制 I/O 线程位置写入文件或表。在 MySQL 8.0.23 中已弃用。 - `[master_verify_checksum](复制选项二进制日志.html#sysvar_master_verify_checksum)`:导致源在从二进制日志读取时检查校验和。在 MySQL 8.0.26 中已弃用。 - `[max_length_for_sort_data](服务器系统变量.html#sysvar_max_length_for_sort_data)`:已排序记录中的最大字节数。在 MySQL 8.0.20 中已弃用。 - `[myisam_repair_threads](服务器系统变量.html#sysvar_myisam_repair_threads)`: 修复 MyISAM 表时使用的线程数。1 禁用并行修复。在 MySQL 8.0.29 中已弃用。 - `[no-dd-upgrade](server-options.html#option_mysqld_no-dd-upgrade)`:防止在启动时自动升级数据字典表。在 MySQL 8.0.16 中已弃用。 - `[pseudo_slave_mode](server-system-variables.html#sysvar_pseudo_slave_mode)`: 供内部服务器使用。在 MySQL 8.0.26 中已弃用。 - `[query_prealloc_size](服务器系统变量.html#sysvar_query_prealloc_size)`:用于查询解析和执行的持久缓冲区。在 MySQL 8.0.29 中已弃用。 - `[relay_log_info_file](复制选项-replica.html#sysvar_relay_log_info_file)`:应用程序元数据存储库的文件名,其中副本记录有关中继日志的信息。在 MySQL 8.0.18 中已弃用。 - `[relay_log_info_repository](replication-options-replica.html#sysvar_relay_log_info_repository)`: 是否将relay log中复制SQL线程的位置写入文件或表。在 MySQL 8.0.23 中已弃用。 - `[replica_parallel_type](replication-options-replica.html#sysvar_replica_parallel_type)`:告诉副本使用时间戳信息(LOGICAL_CLOCK) 或数据库分区 (DATABASE) 以并行化事务。在 MySQL 8.0.29 中已弃用。 - `[rpl_stop_slave_timeout](复制选项-replica.html#sysvar_rpl_stop_slave_timeout)`: STOP REPLICA 或 STOP SLAVE 在超时前等待的秒数。在 MySQL 8.0.26 中已弃用。 - `[show-slave-auth-info](replication-options-source.html#option_mysqld_show-slave-auth-info)`:在此源上的 SHOW REPLICAS 和 SHOW SLAVE HOSTS 中显示用户名和密码。在 MySQL 8.0.26 中已弃用。 - `[skip-host-cache](server-options.html#option_mysqld_skip-host-cache)`: 不要缓存主机名。在 MySQL 8.0.30 中已弃用。 - `[skip-slave-start](replication-options-replica.html#option_mysqld_skip-slave-start)`: 如果设置,复制服务器启动时不会自动启动复制。在 MySQL 8.0.26 中已弃用。 - `[slave-skip-errors](replication-options-replica.html#option_mysqld_slave-skip-errors)`:当查询从提供的列表返回错误时,告诉复制线程继续复制。在 MySQL 8.0.26 中已弃用。 - `[slave_checkpoint_group](复制选项-replica.html#sysvar_slave_checkpoint_group)`:在调用检查点操作更新进度状态之前,多线程副本处理的最大事务数。NDB Cluster 不支持。在 MySQL 8.0.26 中已弃用。 - `[slave_checkpoint_period](replication-options-replica.html#sysvar_slave_checkpoint_period)`:在此毫秒数后更新多线程副本的进度状态并将中继日志信息刷新到磁盘。NDB Cluster 不支持。在 MySQL 8.0.26 中已弃用。 - `[slave_compressed_protocol](replication-options-replica.html#sysvar_slave_compressed_protocol)`:使用源/副本协议的压缩。在 MySQL 8.0.18 中已弃用。 - `[slave_load_tmpdir](复制选项-replica.html#sysvar_slave_load_tmpdir)`:复制 LOAD DATA 语句时副本应放置其临时文件的位置。在 MySQL 8.0.26 中已弃用。 - `[slave_max_allowed_pa​​cket](复制选项-replica.html#sysvar_slave_max_allowed_pa​​cket)`:可以从复制源服务器发送到副本的数据包的最大大小,以字节为单位;覆盖最大值\_允许\_包。在 MySQL 8.0.26 中已弃用。 - `[slave_net_timeout](复制选项-replica.html#sysvar_slave_net_timeout)`:在中止读取之前等待来自源/副本连接的更多数据的秒数。在 MySQL 8.0.26 中已弃用。 - `[slave_parallel_type](replication-options-replica.html#sysvar_slave_parallel_type)`:告诉副本使用时间戳信息(LOGICAL_CLOCK)或数据库分区(DATABASE)以并行化事务。在 MySQL 8.0.26 中已弃用。 - `[slave_parallel_workers](复制选项-replica.html#sysvar_slave_parallel_workers)`:用于并行执行复制事务的应用程序线程数;0 禁用副本多线程。MySQL 集群:参见文档。在 MySQL 8.0.26 中已弃用。 - `[slave_pending_jobs_size_max](复制选项-replica.html#sysvar_slave_pending_jobs_size_max)`:持有尚未应用的事件的副本工作队列的最大大小。在 MySQL 8.0.26 中已弃用。 - `[slave_preserve_commit_order](复制选项-replica.html#sysvar_slave_preserve_commit_order)`:确保副本工作者的所有提交以与源上相同的顺序发生,以在使用并行应用程序线程时保持一致性。在 MySQL 8.0.26 中已弃用。 - `[slave_rows_search_algorithms](复制选项-replica.html#sysvar_slave_rows_search_algorithms)`:确定用于副本更新批处理的搜索算法。此列表中的任何 2 或 3:INDEX\_搜索,表格\_扫描,哈希\_扫描。在 MySQL 8.0.18 中已弃用。 - `[slave_sql_verify_checksum](复制选项-replica.html#sysvar_slave_sql_verify_checksum)`: 导致副本在读取中继日志时检查校验和。在 MySQL 8.0.26 中已弃用。 - `[slave_transaction_retries](复制选项-replica.html#sysvar_slave_transaction_retries)`:复制 SQL 线程在放弃和停止之前重试事务的次数,以防它因死锁或经过的锁等待超时而失败。在 MySQL 8.0.26 中已弃用。 - `[slave_type_conversions](复制选项-replica.html#sysvar_slave_type_conversions)`:控制副本上的类型转换模式。值是此列表中零个或多个元素的列表:ALL\_有损,所有\_非\_有损。设置为空字符串以禁止源和副本之间的类型转换。在 MySQL 8.0.26 中已弃用。 - `[sql_slave_skip_counter](复制选项-replica.html#sysvar_sql_slave_skip_counter)`:副本应跳过的源事件数。与 GTID 复制不兼容。在 MySQL 8.0.26 中已弃用。 - `[ssl](服务器选项.html#option_mysqld_ssl)`:启用连接加密。在 MySQL 8.0.26 中已弃用。 - `[符号链接](server-options.html#option_mysqld_symbolic-links)`: 允许 MyISAM 表的符号链接。在 MySQL 8.0.2 中已弃用。 - `[sync_master_info](复制选项-replica.html#sysvar_sync_master_info)`: 在每 #th 事件后同步源信息。在 MySQL 8.0.26 中已弃用。 - `[temptable_use_mmap](server-system-variables.html#sysvar_temptable_use_mmap)`: 定义 TempTable 存储引擎在 temptable 时是否分配内存映射文件\_最大限度\_达到 ram 阈值。在 MySQL 8.0.26 中已弃用。 - `[transaction_prealloc_size](服务器系统变量.html#sysvar_transaction_prealloc_size)`:用于存储在二进制日志中的事务的持久缓冲区。在 MySQL 8.0.29 中已弃用。 - `[transaction_write_set_extraction](复制选项二进制日志.html#sysvar_transaction_write_set_extraction)`:定义用于散列在事务期间提取的写入的算法。在 MySQL 8.0.26 中已弃用。 ### MySQL 8.0 中删除的选项和变量 MySQL 8.0 中删除了以下系统变量、状态变量和选项。 [](<>) - `Com_alter_db_upgrade`: ALTER DATABASE ... UPGRADE DATA DIRECTORY NAME 语句的计数。在 MySQL 8.0.0 中删除。 - `Innodb_available_undo_logs`:InnoDB 回滚段的总数;不同于innodb\_回滚\_段,显示活动回滚段的数量。在 MySQL 8.0.2 中删除。 - `Qcache_free_blocks`:查询缓存中的空闲内存块数。在 MySQL 8.0.3 中删除。 - `Qcache_free_memory`:查询缓存的可用内存量。在 MySQL 8.0.3 中删除。 - `Qcache_hits`:查询缓存命中数。在 MySQL 8.0.3 中删除。 - `Qcache_inserts`:查询缓存插入的数量。在 MySQL 8.0.3 中删除。 - `Qcache_lowmem_prunes`:由于缓存中的可用内存不足而从查询缓存中删除的查询数。在 MySQL 8.0.3 中删除。 - `Qcache_not_cached`: 非缓存查询的数量(不可缓存,或由于查询未缓存\_缓存\_类型设置)。在 MySQL 8.0.3 中删除。 - `Qcache_queries_in_cache`:在查询缓存中注册的查询数。在 MySQL 8.0.3 中删除。 - `Qcache_total_blocks`:查询缓存中的总块数。在 MySQL 8.0.3 中删除。 - `Slave_heartbeat_period`:副本的复制心跳间隔,以秒为单位。在 MySQL 8.0.1 中删除。 - `Slave_last_heartbeat`: 以 TIMESTAMP 格式显示收到最新心跳信号的时间。在 MySQL 8.0.1 中删除。 - `Slave_received_heartbeats`:自上次重置以来副本收到的心跳数。在 MySQL 8.0.1 中删除。 - `Slave_reried_transactions`:复制 SQL 线程自启动以来重试事务的总次数。在 MySQL 8.0.1 中删除。 - `从属运行`:此服务器作为副本的状态(复制 I/O 线程状态)。在 MySQL 8.0.1 中删除。 - `引导程序`: 由 mysql 安装脚本使用。在 MySQL 8.0.0 中删除。 - `日期格式`: DATE 格式(未使用)。在 MySQL 8.0.3 中删除。 - `日期时间格式`: DATETIME/TIMESTAMP 格式(未使用)。在 MySQL 8.0.3 中删除。 - `des-key 文件`: 为 des 加载键\_加密()和DES\_从给定文件加密。在 MySQL 8.0.3 中删除。 - `group_replication_allow_local_disjoint_gtids_join`:允许当前服务器加入组,即使它有组中不存在的事务。在 MySQL 8.0.4 中删除。 - `have_crypt`: crypt() 系统调用的可用性。在 MySQL 8.0.3 中删除。 - `忽略-db-dir`: 将目录视为非数据库目录。在 MySQL 8.0.0 中删除。 - `ignore_builtin_innodb`:忽略内置的 InnoDB。在 MySQL 8.0.3 中删除。 - `ignore_db_dirs`: 目录被视为非数据库目录。在 MySQL 8.0.0 中删除。 - `innodb_checksums`:启用 InnoDB 校验和验证。在 MySQL 8.0.0 中删除。 - `innodb_disable_resize_buffer_pool_debug`:禁用调整 InnoDB 缓冲池的大小。在 MySQL 8.0.0 中删除。 - `innodb_file_format`: 新 InnoDB 表的格式。在 MySQL 8.0.0 中删除。 - `innodb_file_format_check`: InnoDB 是否执行文件格式兼容性检查。在 MySQL 8.0.0 中删除。 - `innodb_file_format_max`: 共享表空间中的文件格式标记。在 MySQL 8.0.0 中删除。 - `innodb_large_prefix`:为列前缀索引启用更长的键。在 MySQL 8.0.0 中删除。 - `innodb_locks_unsafe_for_binlog`:强制 InnoDB 不使用 next-key 锁定。而是仅使用行级锁定。在 MySQL 8.0.0 中删除。 - `innodb_scan_directories`:定义在 InnoDB 恢复期间扫描表空间文件的目录。在 MySQL 8.0.4 中删除。 - `innodb_stats_sample_pages`:为索引分布统计采样的索引页数。在 MySQL 8.0.0 中删除。 - `innodb_support_xa`:为 XA 两阶段提交启用 InnoDB 支持。在 MySQL 8.0.0 中删除。 - `innodb_undo_logs`: InnoDB 使用的撤消日志(回滚段)的数量;innodb 的别名\_回滚\_段。在 MySQL 8.0.2 中删除。 - `[internal_tmp_disk_storage_engine](服务器系统变量.html#sysvar_internal_tmp_disk_storage_engine)`:内部临时表的存储引擎。在 MySQL 8.0.16 中删除。 - `日志警告`:将一些非关键警告写入日志文件。在 MySQL 8.0.3 中删除。 - `log_builtin_as_identified_by_password`:是否以向后兼容的方式记录 CREATE/ALTER USER、GRANT。在 MySQL 8.0.11 中删除。 - `log_error_filter_rules`:错误记录的过滤规则。在 MySQL 8.0.4 中删除。 - `[log_syslog](服务器系统变量.html#sysvar_log_syslog)`: 是否将错误日志写入 syslog。在 MySQL 8.0.13 中删除。 - `[log_syslog_facility](服务器系统变量.html#sysvar_log_syslog_facility)`:系统日志消息的工具。在 MySQL 8.0.13 中删除。 - `[log_syslog_include_pid](服务器系统变量.html#sysvar_log_syslog_include_pid)`: 是否在 syslog 消息中包含服务器 PID。在 MySQL 8.0.13 中删除。 - `[log_syslog_tag](服务器系统变量.html#sysvar_log_syslog_tag)`:系统日志消息中服务器标识符的标记。在 MySQL 8.0.13 中删除。 - `max_tmp_tables`: 没用过。在 MySQL 8.0.3 中删除。 - `[metadata_locks_cache_size](服务器系统变量.html#sysvar_metadata_locks_cache_size)`: 元数据锁缓存的大小。在 MySQL 8.0.13 中删除。 - `[metadata_locks_hash_instances](服务器系统变量.html#sysvar_metadata_locks_hash_instances)`:元数据锁定哈希的数量。在 MySQL 8.0.13 中删除。 - `多范围计数`:在范围选择期间一次发送到表处理程序的最大范围数。在 MySQL 8.0.3 中删除。 - `[myisam_repair_threads](服务器系统变量.html#sysvar_myisam_repair_threads)`: 修复 MyISAM 表时使用的线程数。1 禁用并行修复。在 MySQL 8.0.30 中删除。 - `旧密码`:为 PASSWORD() 选择密码散列方法。在 MySQL 8.0.11 中删除。 - `划分`:启用(或禁用)分区支持。在 MySQL 8.0.0 中删除。 - `query_cache_limit`:不要缓存比这更大的结果。在 MySQL 8.0.3 中删除。 - `query_cache_min_res_unit`: 分配结果空间的单元的最小大小(写入所有结果数据后修剪最后一个单元)。在 MySQL 8.0.3 中删除。 - `查询缓存大小`:分配用于存储旧查询结果的内存。在 MySQL 8.0.3 中删除。 - `查询缓存类型`:查询缓存类型。在 MySQL 8.0.3 中删除。 - `query_cache_wlock_invalidate`: 在 LOCK 上使查询缓存中的查询无效以进行写入。在 MySQL 8.0.3 中删除。 - `安全认证`:不允许对具有旧(4.1 之前)密码的帐户进行身份验证。在 MySQL 8.0.3 中删除。 - `显示兼容性_56`:显示状态/变量的兼容性。在 MySQL 8.0.1 中删除。 - `跳过分区`:不要启用用户定义的分区。在 MySQL 8.0.0 中删除。 - `同步框架`:在创建时将 .frm 同步到磁盘。默认启用。在 MySQL 8.0.0 中删除。 - `临时池`:使用此选项会导致创建的大多数临时文件使用一小组名称,而不是每个新文件的唯一名称。在 MySQL 8.0.1 中删除。 - `时间格式`:时间格式(未使用)。在 MySQL 8.0.3 中删除。 - `tx_isolation`:默认事务隔离级别。在 MySQL 8.0.3 中删除。 - `tx_read_only`:默认事务访问模式。在 MySQL 8.0.3 中删除。