MySql.Data.MySqlClient.MySqlException: The user specified as a definer ('root'@'%') does not exist
2012-05-17 09:39
627 查看
All the settings were fine and I was wondering what’s causing the problem. At first rush I thought that it could be a cache, as I had requested recently to have xcache on our server.
But it wasn’t the case. The error was much more stupid than even one can imagine. That specific script uses a stored procedure to insert / fetch data to/from MySQL. The user who had created the sp was the one who was deleted. And that was the problem. The term “Definer” in terms of MySQL is the one who creates the stored procedure and for the stored procedure to be executed that user must exists.
http://stackoverflow.com/questions/2398368/what-exactly-this-error-is
But it wasn’t the case. The error was much more stupid than even one can imagine. That specific script uses a stored procedure to insert / fetch data to/from MySQL. The user who had created the sp was the one who was deleted. And that was the problem. The term “Definer” in terms of MySQL is the one who creates the stored procedure and for the stored procedure to be executed that user must exists.
http://stackoverflow.com/questions/2398368/what-exactly-this-error-is
相关文章推荐
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 数据库数据迁移 The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- 【MySQL】mysql 1449 : The user specified as a definer ('root'@'%') does not exist
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- mysql1449 The user specified as a definer ('root'@'%') does not exist 解决方法
- The user specified as a definer ('root'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist
- 错误代码: 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 us
- The user specified as a definer ('root'@'%') does not exist 解决方法 权限问题
- Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist