MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.5.3 SHOW Syntax

 
   SHOW DATABASES [LIKE wild]
or SHOW [OPEN] TABLES [FROM db_name] [LIKE wild]
or SHOW [FULL] COLUMNS FROM tbl_name [FROM db_name] [LIKE wild]
or SHOW INDEX FROM tbl_name [FROM db_name]
or SHOW TABLE STATUS [FROM db_name] [LIKE wild]
or SHOW STATUS [LIKE wild]
or SHOW VARIABLES [LIKE wild]
or SHOW [BDB] LOGS
or SHOW [FULL] PROCESSLIST
or SHOW GRANTS FOR user
or SHOW CREATE TABLE table_name
or SHOW MASTER STATUS
or SHOW MASTER LOGS
or SHOW SLAVE STATUS
or SHOW WARNINGS [LIMIT row_count]
or SHOW ERRORS [LIMIT row_count]
or SHOW TABLE TYPES

SHOW provides information about databases, tables, columns, or status information about the server. If the LIKE wild part is used, the wild string can be a string that uses the SQL `%' and `_' wildcard characters.

Note that there are other forms of the SHOW statement that provide information about replication master and slave servers. They are described in 13.6 Replication Statements.

13.5.3.1 Retrieving Information about Database, Tables, Columns, and Indexes  
13.5.3.2 SHOW TABLE STATUS  
13.5.3.3 SHOW STATUS  
13.5.3.4 SHOW VARIABLES  
13.5.3.5 SHOW [BDB] LOGS  
13.5.3.6 SHOW PROCESSLIST  
13.5.3.7 SHOW GRANTS  
13.5.3.8 SHOW CREATE TABLE  
13.5.3.9 SHOW WARNINGS | ERRORS  
13.5.3.10 SHOW TABLE TYPES  
13.5.3.11 SHOW PRIVILEGES  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by rdg (Feb 25 2004) using texi2html