📣

TiDB Cloud Serverless 现已更名为
Starter
!此页面由 AI 自动翻译,英文原文请见
此处。

SHOW PLUGINS

SHOW PLUGINS 用于显示 TiDB 中已安装的所有插件,包括每个插件的状态和版本信息。

语法

ShowPluginsStmt
SHOWPLUGINSShowLikeOrWhere

示例

SHOW PLUGINS;
+-------+--------------+-------+-----------------------------+---------+---------+ | Name | Status | Type | Library | License | Version | +-------+--------------+-------+-----------------------------+---------+---------+ | audit | Ready-enable | Audit | /tmp/tidb/plugin/audit-1.so | | 1 | +-------+--------------+-------+-----------------------------+---------+---------+ 1 row in set (0.000 sec)
SHOW PLUGINS LIKE 'a%';
+-------+--------------+-------+-----------------------------+---------+---------+ | Name | Status | Type | Library | License | Version | +-------+--------------+-------+-----------------------------+---------+---------+ | audit | Ready-enable | Audit | /tmp/tidb/plugin/audit-1.so | | 1 | +-------+--------------+-------+-----------------------------+---------+---------+ 1 row in set (0.000 sec)

MySQL 兼容性

TiDB 中的 SHOW PLUGINS 语句与 MySQL 完全兼容。如果你发现任何兼容性差异,请报告 bug

另请参阅

文档内容是否有帮助?