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

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

时间:2015-06-04 15:43:11      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:hive

配置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

原文地址:http://blog.csdn.net/u014120684/article/details/46362311

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