MySQL Show statement usage

Source: Internet
Author: User

MySQL Show statements are commonly used. The following describes the usage of MySQL Show statements. If you are interested in MySQL Show statements, take a look.

 
 
  1. show databases;  
  2.  
  3. show tables from db_name;  
  4.  
  5. show columns from table_name from db_name;  
  6.  
  7. show index from talbe_name [from db_name];  
  8.  
  9. show status;  
  10.  
  11. show variables;  
  12.  
  13. show [full] processlist;  
  14.  
  15. show table status [from db_name];  
  16.  
  17. show grants for user;  

In addition to status, processlist, and grants, other options can contain the like wild option, which can use the SQL '%' and '_' characters;

Show databases like '% T ';

All databases whose names end with the 'T' character are listed.

The preceding section describes the usage of the MySQL Show statement.

How to create an association table in MySQL

MySQL connection query Overview

Optimization instance for MySQL random Query

MySQL sorting usage

How to enable MySQL slow Query

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.