首页 > 数据库技术 > 详细

Access denied for user '密码'@'192.18.0.0' (using password: YES)

时间:2019-10-22 20:31:25      阅读:161      评论:0      收藏:0      [点我收藏+]
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project industry-invoice: 
Access denied for user ‘密码‘@‘192.18.0.0‘ (using password: YES)

这是因为当前用户没有访问mysql的权限导致的在mysql中执行:grant all privileges on *.* to root@‘%‘ identified by ‘cloudera;

就可以访问了。

如果是在公司给的数据库中,就劝你换成本地的数据库.

Access denied for user '密码'@'192.18.0.0' (using password: YES)

原文:https://www.cnblogs.com/qingmuchuanqi48/p/11722149.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!