D:\>mysqldump -u root -p test >newst.sql提示错误
mysqldump: Got error: 1449: The user specified as a definer ('root'@'%') does no
t exist when using LOCK TABLES什么意思?

解决方案 »

  1.   

    没有权限?
    grant all privileges on‘.’ to root@
      

  2.   

    root 权限问题.
    只要给root用户再添加权限:如
    grant all privileges on *.* to root@'%' identified by "Passwd" 

    flush privileges;
    应该就没问题了
      

  3.   

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

  4.   

    grant all privieges on *.* to root@'%' identified by '123'D:\>mysqldump -u root -p123 -E -R --opt test >newst.sql