A.ShowTables orShowTables from database_name; --Displays the names of all tables in the current database
B.ShowDatabases --DisplayMySQLIn all name of the database
C. show columns from table_name from database_name; or Show columns from Database_name.table_name; --Displays the column name in the table
D. Show grants for user_name;--Displays the permissions of a user, displaying the result similar to the grant command
E. show index from table_name; --Displays the index of the table
F. show status;-Displays information about some system-specific resources, such as the number of threads running
G. show variables; --Displays the name and value of the system variable
H. show processlist;-Displays all processes running in the system, that is, the query that is currently executing. Most users can view their own processes, but if they have process permissions, they can see all processes, including passwords.
I. show table status;--Displays information about each table in the database that is currently being used or specified. Information includes the table type and the last updated time of the table
J. show privileges;-Show different permissions supported by the server
K. show create database database_name; --Shows whether the CREATE DATABASE statement can create the specified databases
SHOW CREATE DATABASE test\g;
L. Show CREATE TABLE table_name; --Show whether the CREATE DATABASE statement can create the specified databases
SHOW CREATE TABLE java\g;
M. show engies; --Displays the storage engine and the default engine that are available after installation.
SHOW Engines\g;
N. show InnoDB status; --Displays the status of the InnoDB storage engine
O. show logs; --Displays logs of the BDB storage engine
P. show warnings; --Displays errors, warnings, and notifications resulting from the last statement executed
Q. Show errors; --Displays only the errors generated by the last execution statement
R. show [storage] engines; --Displays the available storage engine and the default engine after installation
S. Show procedure status-displays basic information about all stored procedures in the database, including the owning database, stored
Process name, creation time, etc.
T. Show CREATE PROCEDURE Sp_name--show details of a stored procedure
SHOW CHARACTER SET
Show all the available character sets
SHOW CHARACTER SET;
SHOW CHARACTER SET like ' latin% ';
SHOW COLLATION
The output includes all available character sets
SHOW COLLATION;
SHOW COLLATION like ' latin1% ';
SHOW ENGINE
Show engine displays log or status information for the storage engine. The following statements are currently supported:
SHOW ENGINE BDB LOGS;
SHOW ENGINE INNODB STATUS;
SHOW OPEN TABLES
Lists the non-temporary tables that are currently open in the table cache.
SHOW OPEN TABLES;
SHOW TRIGGERS
SHOW triggers lists the triggers that are currently defined by the MySQL server.
SHOW TRIGGERS;
MySQL Show command collection