设为首页 加入收藏

TOP

hive:Access denied for user 'root'@'%'
2019-05-15 12:53:02 】 浏览:342
Tags:hive:Access denied for user ' root' @' %'

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

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Sqoop   ------- 将mysql的.. 下一篇SparkSQL数据源之Hive数据库

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目