修改默认编码:
1,删除原来的表
drop table user;
2, 重新建表:
create table user (id int(10) ,name varchar(20)) default charset=utf8
再次测试就可以插入汉字