如果sql出现没有足够权限问题

来源:互联网 发布:淘宝大学怎么进入 编辑:程序博客网 时间:2024/04/20 01:58

The user specified as a definer ('root'@'%') does not exist

就是上面这个报错,那就执行

grant all on mysql.* to 'root'@'localhost' identified by 'password'; 

上面的password是你要改成的新密码

 all privileges on是授予全部权限

0 0
原创粉丝点击