查看所有数据库 show databases;创建数据库create database database_name;//database_name数据库名进入某个数据库,查看数据库中所有表use database_name;//database_name数据库名show tables;查看某张表结构desc table_name;//表名查看某张表数据select * from table_name;