UNINSTALL COMPONENT does the following:
- Deactivates the component
- Uninstalls the component
If the statement does not undo any persisted variables.
If an error, such as a misspelled component name, occurs, the statement fails and nothing happens.
You can uninstall multiple components at the same time.
The statement requires the
DELETE privilege for the
mysql.component system table. Executing the statement removes the registration row from this table.
The following is an example of the
UNINSTALL COMPONENT statement.
mysql > UNINSTALL COMPONENT 'file://componentA' ;