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

Syntax

IF NOT EXISTS: If specified, the statement succeeds silently when the plugin is already installed instead of returning an error. 3 types of sources are supported:
text
PROPERTIES supports setting some configurations of plugins, such as setting the md5sum value of the zip file, etc.

Examples

  1. Install a plugin from local zip file:
  2. Install a plugin from local inpath:
  3. Download and install a plugin:
  4. Download and install a plugin. Meanwhile, set the md5sum value of the zip file:
  5. Install a plugin if it is not already installed: