Pre-General Availability Draft: 2017-11-23
UNINSTALL COMPONENT component_name [, component_name ] ...
This statement deactivates and uninstalls one or more server
components. A component provides services that are available to
the server and other components; see
Section 5.5, “MySQL Server Components”.
UNINSTALL COMPONENT is the
It requires the
mysql.component system table.
UNINSTALL COMPONENT 'file://component1', 'file://component2';
For information about component naming, see Section 184.108.40.206, “INSTALL COMPONENT Syntax”.
If any error occurs, the statement fails and has no effect. For example, this happens if a component name is erroneous, a named component is not installed, or cannot be uninstalled because other installed components depend on it.
A loader service handles component unloading, which includes
removing uninstalled components from the
mysql.component system table that serves as a
registry. As a result, unloaded components are not loaded during
the startup sequence for subsequent server restarts.