centos下mysql授予权限提示ERROR 1133 (42000): Can't find any matching row in the user table

错误:

给mysql对应的用户授予权限的时候提示报错:

解决方法:

后面才知道原来是同事这边新增了用户没有flush

grant all privileges on *.* to 'user'@'%' with grant option;

flush privileges;

猜你喜欢

转载自www.cnblogs.com/Sungeek/p/10143519.html