java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist 解决方法

新安装了mysql5.7版本:报错

权限问题,授权给 root 所有sql 权限

mysql> grant all privileges on *.* to root@"%" identified by ".";


mysql> flush privileges;


猜你喜欢

转载自blog.csdn.net/weixin_38508261/article/details/79756364
今日推荐