hive元数据库初始化报错:Specified key was
2019-03-11 本文已影响0人
JansonYan

1.mysql数据库创建数据库的时候的字符集默认是latin1,之前可能被修改过,改成UTF8或者其他
以此命令查看show variables like '%char%';

2.以latin1字符集重建hive数据库
create database hive character set latin1;


参考博客:https://blog.csdn.net/lsr40/article/details/79422718