查看库结构:
SHOW DATABASES; 查看表结构:
show tables即为显示当前数据库中所有的表。又如:

mysql> use dbname    //进入dbname库
Database changed //提示"Database changed"进入成功
mysql> show tables;  //显示表结构
04-13 01:43