To control the state (like the activation or deactivation) of plugins, MySQL 8 provides the following options:
- --plugin_name=OFF: Disables the named plugin. Some of the built-in plugins, such as the asmysql_native_password plugin, are not affected by this command.
- --plugin_name[=ON]: This command enables the specified plugin. If plugin initialization failed during startup MySQL 8 will start with the plugin disabled.
- --plugin_name=FORCE: This is the same as the above command, except the server does not start. This means that it forces the server to start with the plugin if it is mentioned on startup.
- --plugin_name=FORCE_PLUS_PERMANENT: The same as the FORCE option, but additionally prevents the plugin from being unloaded at ...