mysql.plugin Table
The mysql.plugin table can be queried to get information about installed plugins.
This table only contains information about plugins that have been installed via the following methods:
- The
INSTALL SONAMEstatement. - The
INSTALL PLUGINstatement. - The
mysql_pluginutility.
This table does not contain information about:
- Built-in plugins.
- Plugins loaded with the
--plugin-load-addoption. - Plugins loaded with the
--plugin-loadoption.
This table only contains enough information to reload the plugin when the server is restarted, which means it only contains the plugin name and the plugin library.
MariaDB starting with 10.4
In MariaDB 10.4 and later, this table uses the Aria storage engine.
MariaDB until 10.3
In MariaDB 10.3 and before, this table uses the MyISAM storage engine.
The mysql.plugin table contains the following fields:
| Field | Type | Null | Key | Default | Description |
|---|---|---|---|---|---|
name | varchar(64) | NO | PRI | Plugin name. | |
dl | varchar(128) | NO | Name of the plugin library. |
Example
SELECT * FROM mysql.plugin; +---------------------------+------------------------+ | name | dl | +---------------------------+------------------------+ | spider | ha_spider.so | | spider_alloc_mem | ha_spider.so | | METADATA_LOCK_INFO | metadata_lock_info.so | | OQGRAPH | ha_oqgraph.so | | cassandra | ha_cassandra.so | | QUERY_RESPONSE_TIME | query_response_time.so | | QUERY_RESPONSE_TIME_AUDIT | query_response_time.so | | LOCALES | locales.so | | sequence | ha_sequence.so | +---------------------------+------------------------+
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.