时间:2021-07-01 10:21:17 帮助过:30人阅读
配置hive全分布模式时候,在mysql里面创建用户:create user ‘hive’ identified by ‘hive’;
然后给hive帐号分配所有权限:
grant all privileges on . on ‘hive’ with grant option;结果出现了Access denied for user ‘root’@’%’。后来我先创建数据库hive:create database hive,再grant all privileges on hive.* to ‘hive’@’%’;
hive:Access denied for user 'root'@'%'
标签:hive