mysqldump -uroot -pPasswd DBName >/home/lsf/DB_Backup.sqlmysql
报错,显示:sql
Got error: 1449: The user specified as a definer ('root'@'') does not exist when using LOCK TABLES
ide
或者直接:the user specified as a definer ('root'@'') does not existci
解决办法:it
给root用户再添加一个对所有host都有能够访问的权限:
class
mysql -uroot -pPasswd
权限
mysql >grant all privileges on *.* to root@"%" identified by "Passwd";
error
mysql >flush privileges;
di