hive连接sql

mac2025-12-09  5

见了个鬼 给又给了权限,也刷新了,就是

org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version. Underlying cause: java.sql.SQLException : Access denied for user ‘root’@‘master’ (using password: YES) SQL Error code: 1045 Use --verbose for detailed stacktrace. *** schemaTool failed *** 搞了半天,突然发现 那就跳过密码验证咯 也就是在 /etc/my.conf (也就是配置服务的地方) [mysqld] basedir=---- datadir=— #这里加上 skip-grant-tables 果真不出所料—ok这也是没办法哦– 我百度了各种—啥远程访问权限,删除用户啊只剩root@%–,另外加hivey用户啊,给他所有权限–统统在我这不适用 真是见了个鬼啊----

最新回复(0)