MySQL數據字典

 

MySQL中的數據字典用於代替原來的show命令。

mysql> use information_schema
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

所有的數據字典如下:
mysql> show tables;
+---------------------------------------+
| Tables_in_information_schema |
+---------------------------------------+
| CHARACTER_SETS 
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY 
| COLUMNS 
| COLUMN_PRIVILEGES 
| KEY_COLUMN_USAGE
| PROFILING 
| ROUTINES 
| SCHEMATA 
| SCHEMA_PRIVILEGES 
| STATISTICS 
| TABLES 
| TABLE_CONSTRAINTS
| TABLE_PRIVILEGES 
| TRIGGERS 
| USER_PRIVILEGES 
| VIEWS 
+---------------------------------------+
17 rows in set (0.00 sec)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章