mysqldump: Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TABLES
只要给root用户再添加一个对全部host都有可以访问的权限
操作如下:
登陆mysql
mysql -u root -pPasswd
mysql >grant all privileges on *.* to root@"%" identified by "Passwd"
mysql >flush privileges;
==============
END~! KO.
再进行导出就可以执行了。
本文解决了一个常见的MySQL导出问题:错误1449,即指定的定义者(root@'%')不存在。通过为root用户增加全局访问权限解决了此问题。

563

被折叠的 条评论
为什么被折叠?



