The user specified as a definer ('root'@'%') does not exist

Posted gavanwanggw

tags:

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

??
通常是因为root用户对全局host无訪问权限。因此仅仅要给root用户加入一个訪问权限就可以。

  解决的方法:

  登陆mysql 。运行

  mysql -u root -pPasswd

  mysql >grant all privileges on *.* to [email protected]"%" identified by "Passwd"

  mysql >flush privileges

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

1449-The user specified as a difiner(‘aa‘@‘%‘) does not exist

1449-The user specified as a difiner(‘aa‘@‘%‘) does not exist

mysql的“The user specified as a definer (”@’%') does not exist”问题 解决

mysqldump: Got error: 1449: The user specified as a definer ('user'@'%') does not ex

The user specified as a definer ('root'@'%') does not exist

mysql的The user specified as a definer (”@’%') does not exist 的解决办法