码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-07-18 16:53:10      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:func   class   数据库   line   mysq   base   with   post   结果   

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

标签:func   class   数据库   line   mysq   base   with   post   结果   

原文地址:http://www.cnblogs.com/jhcelue/p/7200900.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!