ERROR 1133 (42000): Can't find any matching row in the user table

 

今天在执行  grant all privileges on cache_cloud.* to 'cachecloud'@'%'; 出现错误信息:ERROR 1133 (42000): Can't find any matching row in the user table  

如下所示:

 

解决方法:

  执行语句:flush privileges;

 

 

再次执行语句: grant all privileges on cache_cloud.* to 'cachecloud'@'%';   成功。

整体执行语句如下 :

  

 

评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!

Mysql创建用户后,执行grant授权命令,提示can't find any matching row in the user table