打开视图 :1449 - the user specified as a definer ('root'@'%')does not exist
Posted tanning
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了打开视图 :1449 - the user specified as a definer ('root'@'%')does not exist相关的知识,希望对你有一定的参考价值。
从一个数据库数据迁移到本地localhost
程序在调用到数据库的视图时报错,直接在数据库中打开视图时也报错,类似:
mysql 1449 : The user specified as a definer (‘root‘@‘%‘) does not exist
经查,是权限问题,解决办法:
运行:grant all privileges on *.* to [email protected]"%" identified by ".";
之后打开视图时便不会报错
以上是关于打开视图 :1449 - the user specified as a definer ('root'@'%')does not exist的主要内容,如果未能解决你的问题,请参考以下文章
MySQL错误:The user specified as a definer (XXX@XXX) does not exist (1449错误)最简解决方案
mysqldump: Got error: 1449: The user specified as a definer ('user'@'%') does not ex
mysql 1449 : 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 [Err]1449 : The user specified as a definer ('root'@'%') does not exist