Display a list of databases --show databases statement
Use the "show databases" statement to display a list of databases.
show databases;
A list of databases is displayed.
+ -------------------- + | Database | + -------------------- + | information_schema | | mydatabase | | test | + -------------------- +