azkaban:Failed to find write-enabled DB connection. Wait 15 seconds and retry.
发布日期:2022-02-27 02:37:51 浏览次数:57 分类:技术文章

本文共 336 字,大约阅读时间需要 1 分钟。

1.原因:

翻看日志:在这里插入图片描述
可以查看到原因即登陆的权限问题,查看mysql数据库的权限:
1)use mysql;
2) select User, Host, authentication_string from user;
注意:5.7版本下的mysql数据库下已经没有password这个字段了,password字段改成了authentication_string在这里插入图片描述
2. 解决:
可知道时root 不愿徐远程登陆 两种解决办法:
第一,修改root为%权限,允许远程登陆
第二,创建新的用户赋值为%权限,远程登陆

介绍第一种方法:

update user set host=’%’ where host=‘localhost’;flush privileges;quit;

转载地址:https://blog.csdn.net/weixin_43377681/article/details/117156907 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:springboot搭建
下一篇:Phonix:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.PathIsNotEmptyDirectoryException)

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年03月28日 01时14分25秒