Show Databases

Important

This documentation has been retired and might not be updated. The product, service, or technology mentioned in this content is no longer supported. See SHOW SCHEMAS.

SHOW [DATABASES | SCHEMAS] [LIKE 'pattern']

Return all databases. SHOW SCHEMAS is a synonym for SHOW DATABASES.

LIKE 'pattern'

Which database names to match. In pattern, * matches any number of characters.