//1.db create
create database evil;
//2.tb create
create table evil_goddess(
id int primary key auto_increment,
name varchar(30) not null,
age samllint,
birthday date,
qq varchar(30),
mobile varchar(30),
create_name varchar(30),
update_name varchar(30)
)engine=innodb default charset=utf8 auto_increment=1;
alter database evil default character set 'utf8';
SET character_set_client='utf8';
SET character_set_connection='utf8';
SET character_set_results='utf8';
以上是命令
在cmd中运行mysql创建
moysakura