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';

posted @ 2025-01-27 22:35  基础狗  阅读(211)  评论(0)    收藏  举报