首页 > 数据库技术 > 详细

Mysql:The user specified as a definer ('xxx'@'%') does not exist 错误

时间:2021-08-30 01:55:51      阅读:6      评论:0      收藏:0      [点我收藏+]

1、在mysql 数据库新建视图的时候,提示

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

2、原因:

由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。

执行命令:

grant all privileges on *.* to root@"%" identified by "pwd"

Mysql:The user specified as a definer ('xxx'@'%') does not exist 错误

原文:https://www.cnblogs.com/wongzzh/p/15200331.html

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