You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create user quatest with create privi on v4.0.11
MySQL [(none)]> create user qatest;grant Create on . to qatest;
Query OK, 0 rows affected (0.03 sec)
upgrade to v5.0.0
check user privileges
2. What did you expect to see? (Required)
MySQL [(none)]> show grants for qatest;
+-------------------------------------+
| Grants for qatest@% |
+-------------------------------------+
| GRANT Create ON . TO 'qatest'@'%' |
+-------------------------------------+
1 row in set (0.00 sec)
3. What did you see instead (Required)
MySQL [(none)]> show grants for qatest;
+--------------------------------------------------------------------------+
| Grants for qatest@% |
+--------------------------------------------------------------------------+
| GRANT Create,REPLICATION CLIENT,REPLICATION SLAVE ON . TO 'qatest'@'%' |
+--------------------------------------------------------------------------+
1 row in set (0.00 sec)
4. What is your TiDB version? (Required)
MySQL [test]> SELECT tidb_version() ;
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v5.0.0
Edition: Community
Git Commit Hash: 46f5f21
Git Branch: heads/refs/tags/v5.0.0
UTC Build Time: 2021-03-15 06:21:59
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
MySQL [test]>
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
MySQL [(none)]> create user qatest;grant Create on . to qatest;
Query OK, 0 rows affected (0.03 sec)
2. What did you expect to see? (Required)
MySQL [(none)]> show grants for qatest;
+-------------------------------------+
| Grants for qatest@% |
+-------------------------------------+
| GRANT Create ON . TO 'qatest'@'%' |
+-------------------------------------+
1 row in set (0.00 sec)
3. What did you see instead (Required)
MySQL [(none)]> show grants for qatest;
+--------------------------------------------------------------------------+
| Grants for qatest@% |
+--------------------------------------------------------------------------+
| GRANT Create,REPLICATION CLIENT,REPLICATION SLAVE ON . TO 'qatest'@'%' |
+--------------------------------------------------------------------------+
1 row in set (0.00 sec)
4. What is your TiDB version? (Required)
MySQL [test]> SELECT tidb_version() ;
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v5.0.0
Edition: Community
Git Commit Hash: 46f5f21
Git Branch: heads/refs/tags/v5.0.0
UTC Build Time: 2021-03-15 06:21:59
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
MySQL [test]>
The text was updated successfully, but these errors were encountered: