Skip to main content
UNINSTALL PLUGIN is used to uninstall a plugin. Tip This operation requires the SYSTEM-level PLUGIN privilege. You can follow the instructions in GRANT to grant this privilege.

Syntax

IF EXISTS: If specified, the statement succeeds silently when the plugin does not exist instead of returning an error. plugin_name can be viewed through SHOW PLUGINS command Only non-builtin plugins can be uninstalled.

Examples

  1. Uninstall a plugin:
  2. Uninstall a plugin if it exists: