为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:v4.0.1
- 【问题描述】:手工删除了用户root@’%’,导致执行grant all privileges on . to test@‘localhost’;异常
mysql> select user,host from mysql.user;
±-----------±------------+
| user | host |
±-----------±------------+
| root | x.x.x.x |
| test| x.x.x.x |
mysql> grant all privileges on . to test@‘x.x.x.x’;
ERROR 8121 (HY000): privilege check fail