MySQL Enterprise Audit This section describes the command options and system variables that configure operation of MySQL Enterprise Audit. If values specified at startup time are incorrect, the  audit_log  plugin may fail to initialize properly and the server does not load it. In this case, the server may also produce error messages for other audit log settings because it does not recognize them. To configure activation of the audit log plugin, use this option: This option controls how the server loads the  audit_log  plugin at startup. It is available only if the plugin has been previously registered with  INSTALL PLUGIN  or is loaded with  --plugin-load  or  -- plugin-load-add . See Section 6.4.5.2, “Installing or Uninstalling MySQL Enterprise Audit” . The option value should be one of those available for plugin-loading options, as described in Section 5.6.1, “Installing and Uninstalling Plugins” . For example,  --audit- log=FORCE_PLUS_PERMANENT  tells the server to load the plugin and prevent it from being removed while the server is running. If the audit log plugin is enabled, it exposes several system variables that permit control over logging: 1529 • --audit-log[= value ] Audit Log Options and Variables Name Cmd-Line Option File System Var Status Var Var Scope Dynamic 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_password_history_keep_days Yes Yes Yes Global Yes audit_log_policy Yes Yes Yes Global No audit_log_prune_seconds Yes Yes Yes Global Yes audit_log_read_buffer_size Yes Yes Yes Varies Varies 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 Command-Line Format --audit-log[=value] Type Enumeration Default Value ON Valid Values ON OFF FORCE FORCE_PLUS_PERMANENT