Access denied for user 'mmall'@'42.203.40.220' (using password: YES)
来源:5-10 mybatis三剑客之mybatis-generator生成数据对象和时间戳优化
 
			weixin_慕用1397376
2020-12-21
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project mmall: Access denied for user ‘mmall’@‘42.203.40.220’ (using password: YES)
按照方法
#Mysql 创建用户并赋予权限
use mysql;
#创建用户
CREATE USER ‘mmall’@’%’ identified by ‘123456’;
#赋予权限
grant all privileges on mmall.* to ‘mmall’@’%’ with GRANT OPTION;
flush privileges;
试过了 没用

老师求解!
写回答
	1回答
- 
				  weixin_慕用1397376 提问者 2020-12-21 已解决, 原因是IP地址和数据库账号密码问题 用自己的 00
相似问题