Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions sql-statements/sql-statement-show-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,13 @@ aliases: ['/docs/dev/sql-statements/sql-statement-show-plugins/']

## Synopsis

**ShowStmt:**

![ShowStmt](/media/sqlgram/ShowStmt.png)

**ShowTargetFilterable:**

![ShowTargetFilterable](/media/sqlgram/ShowTargetFilterable.png)
```ebnf+diagram
ShowPluginsStmt ::=
"SHOW" "PLUGINS" ShowLikeOrWhere?
```

## Examples

{{< copyable "sql" >}}

```sql
SHOW PLUGINS;
```
Expand All @@ -39,8 +34,6 @@ SHOW PLUGINS;
1 row in set (0.000 sec)
```

{{< copyable "sql" >}}

```sql
SHOW PLUGINS LIKE 'a%';
```
Expand All @@ -57,3 +50,7 @@ SHOW PLUGINS LIKE 'a%';
## MySQL compatibility

The `SHOW PLUGINS` statement in TiDB is fully compatible with MySQL. If you find any compatibility differences, [report a bug](https://docs.pingcap.com/tidb/stable/support).

## See also

- [`ADMIN PLUGINS`](/sql-statements/sql-statement-admin.md#admin-plugins-related-statement)