All pages
Powered by GitBook
1 of 1

Loading...

UNINSTALL PLUGIN

Remove a specific plugin from the server. This statement unloads the plugin code and deletes its entry from the mysql.plugin table to prevent reloading.

Syntax

Description

This statement removes a single installed plugin. To uninstall the whole library which contains the plugin, use UNINSTALL SONAME. You cannot uninstall a plugin if any table that uses it is open.

plugin_name must be the name of some plugin that is listedin the table. The server executes the plugin's deinitializationfunction and removes the row for the plugin from the mysql.plugintable, so that subsequent server restarts will not load and initializethe plugin. UNINSTALL PLUGIN does not remove the plugin'sshared library file.

To use UNINSTALL PLUGIN, you must have the privilege for the table.

IF EXISTS

If the IF EXISTS clause is used, MariaDB will return a note instead of an error if the plugin does not exist. See .

Examples

See Also

This page is licensed: GPLv2, originally from

UNINSTALL PLUGIN [IF EXISTS] plugin_name
mysql.plugin
DELETE
mysql.plugin
SHOW WARNINGS
Plugin Overview
mysql_plugin
INSTALL PLUGIN
List of Plugins
fill_help_tables.sql
UNINSTALL PLUGIN example;
UNINSTALL PLUGIN IF EXISTS example;
Query OK, 0 rows affected (0.099 sec)

UNINSTALL PLUGIN IF EXISTS example;
Query OK, 0 rows affected, 1 warning (0.000 sec)

SHOW WARNINGS;
+-------+------+-------------------------------+
| Level | Code | Message                       |
+-------+------+-------------------------------+
| Note  | 1305 | PLUGIN example does not exist |
+-------+------+-------------------------------+