一、修改表
1.修改列为非空
alter table news modify column `time` date not null
2.修改表编码为utf8
alter table comment default character set utf8
3修改字段编码为utf8
alter table `comment` change `content` `content` text character set utf8
一、修改表
1.修改列为非空
alter table news modify column `time` date not null
2.修改表编码为utf8
alter table comment default character set utf8
3修改字段编码为utf8
alter table `comment` change `content` `content` text character set utf8