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



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

  解决办法:

  登陆mysql ,执行

  mysql -u root -pPasswd

  mysql >grant all privileges on *.* to [email protected]"%" identified by "Passwd"

  mysql >flush privileges

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

时间: 2024-10-15 18:48:34

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 "."; 之后打开视图时便不会报错,程序调用也不会报错. 源地址的解释: 权限问

The user specified as a definer ('root'@'%') does not exist 异常解决

参考:http://www.cnblogs.com/Magicam/archive/2013/07/22/3207382.html 权限问题,授权 给 root  所有sql 权限 mysql> grant all privileges on *.* to [email protected]"%" identified by ".";Query OK, 0 rows affected (0.00 sec) mysql> flush privileges;

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

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

项目添加服务器上数据库正常,添加本地的数据库出现问题(The user specified as a definer ('root'@'%') does not exist)

1.项目连接服务器上mysql数据库正常,连接本地的数据库出现问题: The user specified as a definer ('root'@'%') does not exist 2. 权限问题,授权 给 root  所有sql 权限 mysql> grant all privileges on *.* to [email protected]"%" identified by "."; Query OK, 0 rows affected (0.00

mysql 数据库数据迁移 The user specified as a definer ('root'@'%') does not exist 解决方法

从一个数据库数据迁移到本地localhost 程序在调用到数据库的视图时报错,直接在数据库中打开视图时也报错,类似: 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

The use specified as definer('root'@'%') does not exist的解决办法

两个表(员工表和部门表)中都有数据,但是点击视图查看数据的时候反而遇见这个问题,于是查询了一下资料解决办法如下: mysql> grant all privileges on *.* to [email protected]"%" identified by ".";Query OK, 0 rows affected (0.00 sec) mysql> flush privileges;Query OK, 0 rows affected (0.00 se