欢迎投稿

今日深度:

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

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


环境:
操作系统:
Redhat 7.5 x86-64

数据库版本
MySQL 5.7.25

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

变化:
新建用户,并进行赋权。

原因:
创建用户时
create user user identified by 'password';

默认用户为'user'@'%'。

赋权时使用
grant select,insert,update,delete on db.* to 'user'@'172.28.%.%';

用户名是无法匹配上的,因此报上述错误。

解决方案:
删除原来的用户,以显示指定的方式进行创建。

www.htsjk.Com true http://www.htsjk.com/Mysql/25687.html NewsArticle ERROR 1133 (42000): Cant find any matching row in the user table,42000matching 环境: 操作系统: Redhat 7.5 x86-64 数据库版本 MySQL 5.7.25 现象: ERROR 1133 (42000): Can't find any matching row in the user table 变化: 新...
相关文章
    暂无相关文章
评论暂时关闭