当前位置:Gxlcms > mysql > utf-8-求解mysql数据库第三行错误birthday

utf-8-求解mysql数据库第三行错误birthday

时间:2021-07-01 10:21:17 帮助过:58人阅读

utf-8mysqlcharacter数据库

create table user
(
id int primary key aotu_increment,
name varchar(40),
password varchar(40),
email varchar(40),
birthday date
)character set utf8 collate utf8_general_ci;
insert into user(name,password,eamil,birthday) values('zs','123456','zs@sina.com','1980-12-04');
insert into user(name,password,eamil,birthday) values('lisi','123456','lisi@sina.com','1981-12-04');
insert into user(name,password,eamil,birthday) values('wangwu','123456','wangwu@sina.com','1979-12-04');

人气教程排行