Skip to main content

SHOW DATABASES

Use the SHOW DATABASES command to show all databases.

Syntax

SHOW DATABASES [ LIKE_expression ];

Parameters

Parameter or clauseDescription
LIKE_expressionFilters the output based on names by applying pattern matching. See details in LIKE pattern matching expressions.

Example

SHOW DATABASES;

Help us make this doc better!