1、mysql 连接:mysql -u root -pa199025@
2、查看当前数据库:show databases;
3、使用某个库:use cakes;
4、查看当前库的表:show tables;
5、新建people表:
create table people( -> id int not null primary key auto_increment, -> name varchar(16), -> password varchar(32) -> )engine=innodb default charset=utf8;
6、查看表结构:desc people;
7、