List tables in a MySQL database

How do I show/list the tables in a MySQL database (using the mysql command line client)?

To list/show the tables in a MySQL database:

Log into your database using the MySQL client, Issue the use command to connect to your desired database, and then Use the MySQL show tables command.

mysql -u root -p
Password: xxx

use database name;
show tables;

hat’s how you show the tables in the MySQL database using the MySQL command line client.