The use specified as definer('root'@'%') does not exist的解决办法
两个表(员工表和部门表)中都有数据,但是点击视图查看数据的时候反而遇见这个问题,于是查询了一下资料解决办法如下:
mysql> grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
即,用来提升一下root权限
转载于:https://www.cnblogs.com/xiaoxiaomi/p/4276749.html
The use specified as definer('root'@'%') does not exist的解决办法相关推荐
- postgresql 使用pg_restore时显示role root does not exist的解决办法
在docker里恢复bakcup格式的数据库,结果提示role "root" does not exist 解决方法: 切换用户: su - postgres 然后再次运行命令: ...
- 记一次 Cause: java.sql.SQLException: The user specified as a definer (‘XXX‘@‘%‘) does not exist的解决办法
在 使用 navicat 拉取了线上数据库到本地,然后在调试的时候,其他表的数据都可以正常查询,只有在查询视图的数据时报了这个错误,把这个错误记录下来 , 我的解决方式是 1 在 navicat 中, ...
- mySql中The user specified as a definer ('root'@'%') does not exist
背景 最近往现场导了个库,发现功能报错,一看是视图报错,navicat一看,哎呦,直接报错.The user specified as a definer ('root'@'%') does not ...
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist
在项目中修改数据,后台报错: mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决:原因是你对数据中一 ...
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
在linux下,用mysql的导出语句: mysqldump -hlocalhost -uroot -pPasswd table >/home/ftp/test.sql 出现了 mysqldum ...
- 项目添加服务器上数据库正常,添加本地的数据库出现问题(The user specified as a definer ('root'@'%') does not exist)...
1.项目连接服务器上mysql数据库正常,连接本地的数据库出现问题: The user specified as a definer ('root'@'%') does not exist 2. 权限 ...
- C# The user specified as a definer (‘root‘@‘%‘) does not exist
使用C#连接数据库时候一直会报错,数据库重新安装后错误任然存在,起初以为是数据库连接问题,但是经过多次修改仍未解决,最终采用逐行调试发现连接可以连接,在执行查询语句时出现报错.然后将查询语句复制到My ...
- 存储过程/函数权限的问题解决(The user specified as a definer ('root'@'%') does not exist)...
今天项目部署后测试时发现一个问题: 2018-03-30 16:01:30 WARN [http-nio-9101-exec-7] org.hibernate.engine.jdbc.spi.SqlE ...
- MySqlException: The user specified as a definer ('root'@'%') does not exist解决方法
之前因为MySql安全问题,将root@%改为允许特定ip段进行远程连接,结果有一个接口报The user specified as a definer ('root'@'%') does not e ...
最新文章
- 一步一步学习hadoop(七)
- 在django中使用django_debug_toolbar
- NHibernate文档翻译--体系结构
- SouceInsight 快捷方式查看与修改
- 每周一刷——从斐波那契数列到动态规划
- logo语言是计算机语言吗,什么是LOGO语言?
- HIS(Hospital Information System,医院信息系统)简介
- 火狐浏览器下载慢,如何提高
- matlab由方波转换为梯形波,matlab怎样将方波转换为二进制数据
- FireFox火狐浏览器配置页面about:config参数说明
- ctfshow-菜狗杯-web(一)
- MySQL - Failed to open the referenced table XXX
- 专题:手把手学习硬件基础------8、驱动电路
- DNS默认的端口号是: 53
- 手机投屏不是全屏怎么办_手机、电脑投屏怎么全屏
- WIN10 开启SFTP FTP FTPS配置
- 【花雕动手做】有趣好玩的音乐可视化系列项目(31)--LCD1602液晶屏
- 微信订阅号通过获取Openid并获取用户基本信息
- 传陌陌科技公司将赴美IPO
- android自定义手势,Android编程实现自定义手势的方法详解