欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

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

程序员文章站 2022-06-15 14:24:01
...
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');