hive:Access denied for user 'root'@'%'
Posted jhcelue
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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’@’%’。
以上是关于hive:Access denied for user 'root'@'%'的主要内容,如果未能解决你的问题,请参考以下文章
连接mysql时提示java.sql.SQLException: Access denied for user 'root'@'DESKTOP-N2B2D9A' (us
Mysql denied for user 'odbc@localhost' || denied for user 'root@localhost'
ERROR 1142 (42000): GRANT command denied to user ** 或 ERROR 1045 (28000): Access denied for user