create table tb_4( id int primary key auto_increment,
type varchar(40),
foreign key type peferences tb_3 indentity
);
type varchar(40),
foreign key type peferences tb_3 indentity
);
2015-07-24
create table tb_3( id int unsigned primary key auto_increment,
username varchar(20) not null,
mobilephone varchar(20) unique key not null,
identity varchar(40) not null
);
username varchar(20) not null,
mobilephone varchar(20) unique key not null,
identity varchar(40) not null
);
2015-07-24
最新回答 / 小疯尐
应该不是“ set names gbk”的问题,看一下安装目录的my.ini文件的编码方式设置,具体设置要求如下:[mysql]default-character-set=utf8[mysqld]character-set-server=utf8
2015-07-22