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.
In MariaDB 10.4 and later, this table uses the Aria storage engine.
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 | +---------------------------+------------------------+
© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mysqlplugin-table/