SHOW DATABASES
Use the SHOW DATABASES
command to show all databases.
Syntax
SHOW DATABASES [ LIKE_expression ];
Parameters
Parameter or clause | Description |
---|---|
LIKE_expression | Filters the output based on names by applying pattern matching. See details in LIKE pattern matching expressions. |
Example
SHOW DATABASES;