解决mysql1336
1.mysql字符集与插入数据字符集不匹配
USE 数据库名称
SHOW VARIABLES LIKE 'character%'
SET character_set_server=utf8;
SET character_set_database=utf8;
2.表属性字符集与插入数据字符集不匹配
SHOW FULL COLUMNS FROM 表名称
ALTER TABLE 表名 CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci