Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 32.3Mb
PDF (A4) - 32.3Mb
PDF (RPM) - 30.4Mb
HTML Download (TGZ) - 7.8Mb
HTML Download (Zip) - 7.8Mb
HTML Download (RPM) - 6.7Mb
Man Pages (TGZ) - 142.5Kb
Man Pages (Zip) - 201.7Kb
Info (Gzip) - 3.0Mb
Info (Zip) - 3.0Mb


Pre-General Availability Draft: 2017-05-29

14.7.3.5 UNINSTALL COMPONENT Syntax

UNINSTALL COMPONENT component_name [, component_name ] ...

This statement deactivates and uninstalls one or more server components. It requires the DELETE privilege for the mysql.component system table. UNINSTALL COMPONENT is the complement of INSTALL COMPONENT.

A loader service also unregisters uninstalled components from the mysql.component system table. As a result, they are no longer installed during the startup sequence for subsequent server restarts.

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.

For information about component naming, see Section 14.7.3.3, “INSTALL COMPONENT Syntax”.

Example:

UNINSTALL COMPONENT 'file://component2';

For additional information about components, see Section 6.5, “MySQL Server Components”.


User Comments
Sign Up Login You must be logged in to post a comment.