zl程序教程

您现在的位置是:首页 >  其他

当前栏目

hive:Access denied for user 'root'@'%'

amp for 39 user hive root access denied
2023-09-27 14:23:29 时间

配置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’@’%’。