打开视图 :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

原文地址:https://www.cnblogs.com/tanning/p/9735020.html

时间: 2024-11-08 19:28:50

打开视图 :1449 - the user specified as a definer ('root'@'%')does not exist的相关文章

错误代码: 1449 The user specified as a definer ('root'@'%') does not exist

1.错误描述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:call insertDate() 错误代码: 1449 The user specified as a definer ('root'@'%') does not exist 执行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0.175 sec 2.错误原因 这是权限问题,授权给root的所有的SQL语句 3.解决办法 GRANT ALL PRIVILEGE

mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法

程序在调用到数据库的视图时报错,直接在数据库中打开视图时也报错,类似: mysql 1449 : The user specified as a definer ('montor'@'%') does not exist 经查,是权限问题,解决办法: 运行:grant all privileges on *.* to [email protected]"%" identified by "."; 之后打开视图时便不会报错,程序调用也不会报错. 源地址的解释: 权限问

【MySQL】mysql 1449 : The user specified as a definer ('root'@'%') does not exist

权限问题,授权 给 root  所有sql 权限 1.mysql> grant all privileges on *.* to [email protected]"%" identified by ".";Query OK, 0 rows affected (0.00 sec) 2.mysql> flush privileges;Query OK, 0 rows affected (0.00 sec) [MySQL]mysql 1449 : The u

MySQL [Err]1449 : The user specified as a definer ('root'@'%') does not exist

权限问题:授权 给 root 所有sql 权限 mysql> grant all privileges on *.* to [email protected]"%" identified by ".";mysql> flush privileges;   MySQL [Err]1449 : The user specified as a definer ('root'@'%') does not exist

mysqldump: Got error: 1449: The user specified as a definer ('user'@'%') does not exist when using LOCK TABLES

报错:一个库用mysqldump -u -p --opt --force -e --max_allowed_packet= --net_buffer_length= --databases备份时报错如下:mysqldump: Got error: 1449: The user specified as a definer ('user'@'%') does not exist when using LOCK TABLES解决:在网上查找别人的解决方法,大意是说数据库是从别的实例复制过来的,而复制

错误代码: 1449 The user specified as a definer ('root'@'%') does not exist

1. 错误描写叙述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:call analyse_use('20150501','20150601') 错误代码: 1449 The user specified as a definer ('root'@'%') does not exist 运行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0.003 sec 2. 错误原因 在存储过程里.我用的用户是root,而实际的是s

Eclipse恢复初始界面&打开视图

恢复初始界面: 单击菜单栏的windows主菜单,在子菜单里选择 Reset Perspective 会弹出各对话框 ,点 ok就可以了 打开视图:Windows->Show View 其中Others里边可以直接搜索添加视图 Eclipse恢复初始界面&打开视图

Visual Studio 2008项目中WinForm窗体图标显示为类图标,只能打开代码而无法打开视图问题解决

背景: 今天打开一个Winform项目的时候,图标显示为类文件的样子而不是窗体的样子,在代码中右键也没有View Designer选项,双击图标打开的是代码而非窗体设计界面,百度后也没有找到解决方案. 解决方法(不一定通用): 1.编译项目查看有没有错误. 2.查看WinForm窗体继承的窗体文件可以打开不?有没有问题 3.签出代码,在undocheckout,编译,查看是否可以了 4.查看该项目有没有被其他人签出,如果被签出,让他们签入,再获取一下最新版本代码,编译,看看是不是可以了(我在这一

mysql 1449 : The user specified as a definer ('montor'@'%') does not exist

grant all privileges on *.* to [email protected]"%" identified by "."; flush privileges; mysql 1449 : The user specified as a definer ('montor'@'%') does not exist