show database;#显示所有数据库 use 数据库;#切换操作的数据库 show table from 数据库;#显示数据库表 describe 表名;#查看表的结构 show index from 表名;#查看表的索引