Hive创建表时报错: 错误代码如下: 解决方案: 这是mysql编码格式的问题, 进入mysql,输入这三条命令: show variables like "char%"; use hive; alter database hive character set latin1; 修改前: 修改后: