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;