Mysql 5.7 information_schema相关介绍
2017-04-12 16:44
501 查看
The user specified as a definer (‘user’@’192.168.4.56’) does not exist
系统后台报错如上;这是因为我在迁移数据的时候,使用的是user 用户,同时配置了192.168.4.56 这个IP远程访问的权限;但是后期程序执行相关触发器的时候用的是root和% ;明显权限不足。
user用户已经删除,因此需要更新权限。
对于mysql 5.7来说 更改相关表的触发器仍然不适用。这是因为有一个数据库information_schema,TRIGGERS 表里面存放了相关关系,需要更新关系。
我的笨办法就是利用root用户重新copy一下相关的表即可。
系统后台报错如上;这是因为我在迁移数据的时候,使用的是user 用户,同时配置了192.168.4.56 这个IP远程访问的权限;但是后期程序执行相关触发器的时候用的是root和% ;明显权限不足。
user用户已经删除,因此需要更新权限。
对于mysql 5.7来说 更改相关表的触发器仍然不适用。这是因为有一个数据库information_schema,TRIGGERS 表里面存放了相关关系,需要更新关系。
我的笨办法就是利用root用户重新copy一下相关的表即可。
相关文章推荐
- mysql information_schema作用介绍
- MySQL的information_schema的介绍
- information_schema中Innodb相关表用于分析sql查询锁的使用情况介绍
- MySQL的information_schema的介绍
- MySQL自带数据库-information_schema简单介绍
- information_schema中Innodb相关表用于分析sql查询锁的使用情况介绍
- MySQL的information_schema的介绍
- MySQL的information_schema的介绍
- MySQL中information_schema数据库相关权限的说明
- MySQL的information_schema的介绍
- information_schema中Innodb相关表用于分析sql查询锁的使用情况介绍
- MySQL的information_schema的介绍
- MySQL的information_schema的介绍
- MySQL的information_schema的介绍(转)
- MySQL的information_schema的介绍
- MySQL的information_schema的介绍
- MySQL的information_schema的介绍
- 关于MySQL的information_schema库简单介绍及实际应用
- MySQL的information_schema的介绍
- MySQL----information-schema数据库相关权限的说明。