Show tables or show tables from database_name;
Explanation: displays the names of all tables in the current database.
Show databases;
Explanation: displays the names of all databases in mysql.
Show processlist;
Explanation: displays all processes running in the system, that is, the query currently being executed. Most users can view
Their own processes, but if they have the process permission, they can view all processes, including passwords.
Show table status;
Explanation: displays information about each table in the currently used or specified database. Information includes the table type and the latest update time of the table.
Show columns from table_name from database_name; or show columns from database_name.table_name;
Explanation: displays the column name in the table.
Show grants for user_name @ localhost;
Explanation: displays the permissions of a user. The display result is similar to the grant command.
Show index from table_name;
Explanation: displays the table index.
Show status;
Explanation: displays information about specific system resources, such as the number of running threads.
Show variables;
Explanation: displays the name and value of the system variable.
Show privileges;
Explanation: display different permissions supported by the server
Show create database database_name;
Explanation: whether the create database statement can create a specified database
Show create table table_name;
Explanation: whether the create database statement can create a specified database
Show engies;
Explanation: displays available storage engines and default engines after installation.
Show innodb status;
Explanation: displays the innoDB Storage engine status.
Show logs;
Explanation: displays BDB storage engine logs.
Show warnings;
Explanation: displays errors, warnings, and notifications generated by the last executed statement.
Show errors;
Explanation: only displays Errors generated by the last statement.