Heim >Datenbank >MySQL-Tutorial >utf-8-求解 mysql数据库第三行错误 birthday

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:34:22925Durchsuche

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');

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn