hive-sqoop--MySQL8错误--ERROR 1410 (42000): You are not allowed to create a user with GRANT
错误展示:

解决办法:
create user 'hadoopguide'@'localhost' identified by 'hadoopguide';
grant all privileges on hadoopguide.* to 'hadoopguide'@'localhost' with grant option;
效果图:

错误原因:
MySQL 8.0 及以上版本不允许在授予权限时隐式创建用户。所以显式创建用户后再授予权限
ps:
删除用户drop user 'hadoopguide'@'localhost';

浙公网安备 33010602011771号