On this page

SHOW SCHEMAS

Core command SH SC SHSC

Lists the schemas of the current database.

Syntax

SHOW SCHEMAS [<text>]

Arguments

ArgumentRequiredValuesDefault
<text>NoText the schema name contains, ignoring caseEvery schema

Examples

Every schema of the current database
SHOW SCHEMAS;
The schemas whose name contains MYSC, ignoring case
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.

Used in these how-tos

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.