List all database MySQL command

mysql> show databases;

Let’s take it a few steps further.

Next, select one of the databases.

mysql> use database_name;

Now show all data tables.

mysql> show tables;