Caused by: java.sql.SQLException: Access denied for user 'root'@'wjn1' (using password: YES)

问题:MySQL拒绝该用户访问

解决:进入MySQL:grant all privileges on *.* to 'root'@'%' with grant option

上述方法不行,可能是hive-site-xml文件损坏

hive-site-xml下载

https://pan.baidu.com/s/1Ut3z_gBQtQh_250zrJ-oUA

密码:x4fs

猜你喜欢

转载自blog.csdn.net/qq_42444621/article/details/81103464