创建数据库设置字符集
create database demo default character set utf8 collate utf8_general_ci
create database demo default character set gbk collate gbk_chinese_ci
create database demo default character set utf8 collate utf8_general_ci
create database demo default character set gbk collate gbk_chinese_ci
转载于:https://my.oschina.net/owengao/blog/496737