mysqlshow
mysqlshow is a client program that can display information in a database, table information, field information.
Scope of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1 , grammar
mysqlshow [options] [db_name [tbl_name [col_name]]]
2 , the options parameter list
Options |
Explanation |
-? | --help |
Displays help information |
--bind-address=ip |
Binding ip |
--character-sets-dir |
The default character set directory |
-i | --status |
Additional information display table |
-count |
The number of rows shown in the table |
-C | --compress |
Use compression statement between the server and the client |
-P | --port |
Designated port |
--protocol |
Designated agreement |
-v | --verbose |
Show process |
-V | --version |
Displays version information |
-u | --user |
Specifies the user |
-p | --password |
Specify a password |
3 , examples
1 ) to see which database
|
2 ) Check the database in which tables
|
3 ) What are the fields in Table View
|
Made a study of the Linux platform, now came up with a prototype, you can use and reference
Link: https: //pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ Password: n7bk