Pre-General Availability Draft: 2017-07-17
The PLUGINS table provides
information about server plugins.
INFORMATION_SCHEMA Name | SHOW Name | Remarks |
|---|---|---|
PLUGIN_NAME | Name | MySQL extension |
PLUGIN_VERSION | MySQL extension | |
PLUGIN_STATUS | Status | MySQL extension |
PLUGIN_TYPE | Type | MySQL extension |
PLUGIN_TYPE_VERSION | MySQL extension | |
PLUGIN_LIBRARY | Library | MySQL extension |
PLUGIN_LIBRARY_VERSION | MySQL extension | |
PLUGIN_AUTHOR | MySQL extension | |
PLUGIN_DESCRIPTION | MySQL extension | |
PLUGIN_LICENSE | License | MySQL extension |
LOAD_OPTION | MySQL extension |
Notes:
The
PLUGINStable is a nonstandard table.PLUGIN_NAMEis the name used to refer to the plugin in statements such asINSTALL PLUGINandUNINSTALL PLUGIN.PLUGIN_VERSIONis the version from the plugin's general type descriptor.PLUGIN_STATUSindicates the plugin status, one ofACTIVE,INACTIVE,DISABLED, orDELETED.PLUGIN_TYPEindicates the type of plugin, such asSTORAGE ENGINE,INFORMATION_SCHEMA, orAUTHENTICATION.PLUGIN_TYPE_VERSIONis the version from the plugin's type-specific descriptor.PLUGIN_LIBRARYis the name of the plugin shared library file. This is the name used to refer to the plugin file in statements such asINSTALL PLUGINandUNINSTALL PLUGIN. This file is located in the directory named by theplugin_dirsystem variable. If the library name isNULL, the plugin is compiled in and cannot be uninstalled withUNINSTALL PLUGIN.PLUGIN_LIBRARY_VERSIONindicates the plugin API interface version.PLUGIN_AUTHORnames the plugin author.PLUGIN_DESCRIPTIONprovides a short description of the plugin.PLUGIN_LICENSEindicates how the plugin is licensed; for example,GPL.LOAD_OPTIONindicates how the plugin was loaded. The value isOFF,ON,FORCE, orFORCE_PLUS_PERMANENT. See Section 5.6.2, “Installing and Uninstalling Plugins”.
For plugins installed with INSTALL
PLUGIN, the PLUGIN_NAME and
PLUGIN_LIBRARY values are also registered in
the mysql.plugin table.
These statements are equivalent:
SELECT
PLUGIN_NAME, PLUGIN_STATUS, PLUGIN_TYPE,
PLUGIN_LIBRARY, PLUGIN_LICENSE
FROM INFORMATION_SCHEMA.PLUGINS;
SHOW PLUGINS;
For information about plugin data structures that form the basis
of the information in the PLUGINS
table, see Section 28.2, “The MySQL Plugin API”.
Plugin information is also available using the
SHOW PLUGINS statement. See
Section 13.7.5.25, “SHOW PLUGINS Syntax”.