解决:把localhost换成IP地址
如执行后又出现以下问题
如果你的密码是对的后面就是yes
如果你的密码是错的后面就是no
这里说在密码情况是对的情况下的解决方法
1.进入数据库里面
2.修改数据库权限:grant all privileges on * . * to root@IP地址 identified by ‘MySQL密码’; 注:IP地址也可以改成你的Hadoop sqoop所在节点映射名
3.刷新数据库:flush privileges;
sqoop导入或导出出现Communications link failure错误
最新推荐文章于 2022-05-28 16:39:52 发布