mysql hive hadoop权限 启动

配置本地的mysql.cnf文件,注意你的路径在vim /etc/mysql/mysql.conf.d/mysqld.cnf
mysql中创建新用户如果出现以下错误时:
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
参考:https://blog.csdn.net/calistom/article/details/87939956
只需要重新设置你的密码长度和安全等级即可了
mysql hive hadoop权限 启动_第1张图片
在设置用户权限的时候如果出现以下报错:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘. to root@1e45bc4be4b3 identified by ‘12345678’ with grant option’ at line 1
则只需修改命令:alter user 'root'@1e45bc4be4b3 identified by '12345678';
mysql8中赋予用户权限:grant all privileges on database_name.* to 'username'@'localhost'; flush privileges;

往hive中插入数据出现问题时

可能是你的虚拟机分配的内存空间不够,需要设置成本地模式,就能够正常插入了set hive.exec.mode.local.auto=true;,参考:https://www.jianshu.com/p/5bafa4e3ec17

你可能感兴趣的:(系统安装配置,mysql,hive,hadoop)