プラグインを表示
SHOW PLUGINS 、TiDB にインストールされているすべてのプラグインと、各プラグインの状態およびバージョン情報を表示します。
注記:
この機能は、 TiDB Cloud StarterおよびTiDB Cloud Essentialインスタンスではご利用いただけません。
あらすじ
- ShowPluginsStmt
ShowPluginsStmt ::=
"SHOW" "PLUGINS" ShowLikeOrWhere?
例
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 と完全な互換性があります。互換性の違いを見つけた場合は、 バグを報告する。