On this page
SHOW SCHEMAS
Core command
SH SC
SHSC
Lists the schemas of the current database.
Syntax
SHOW SCHEMAS [<text>]
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<text> | No | Text the schema name contains, ignoring case | Every schema |
Examples
SHOW SCHEMAS;SHOW SCHEMAS MYSC;Details
The list flags the connection's current schema.
The filter is a plain, case-insensitive "contains" search, not a % pattern: only the schemas whose name includes the text are listed. Without it, every schema is listed.
Related
Used in these how-tos
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.