欢迎投稿

今日深度:

[Err] 1449

[Err] 1449


晚上加班调用一个远程拷贝的本地Mysql的储存过程,报错:[Err] 1449 - The user specified as a definer ('admin_isbox'@'localhost') does not exist

凭借以前经常见到的root@localhost报错,给root赋值所有权限:

grant all privileges on *.* to root@"%" identified by ".";

发现无效。

可能数据库没有此用户:

没找到此用户,但是报错出现了这个用户。寻求谷歌后,找到解决方法:

UPDATE mysql.proc SET definer='root@localhost' WHERE definer = '*username*@localhost';

重启数据库,OK

www.htsjk.Com true http://www.htsjk.com/shujukunews/43.html NewsArticle [Err] 1449 晚上加班调用一个远程拷贝的本地Mysql的储存过程,报错:[Err] 1449 - The user specified as a definer ('admin_isbox'@'localhost') does not exist 凭借以前经常见到的root@localhost报错,给root赋所有...
相关文章
    暂无相关文章
评论暂时关闭