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

Posted 01coding.com

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist(示相关的知识,希望对你有一定的参考价值。

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

在Navicat for mysql中按F6进入命令列界面

 

 

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

 

mysql> flush privileges;

 

 

以上是关于java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist(示的主要内容,如果未能解决你的问题,请参考以下文章