2021-07-16 03:21:50 +00:00
|
|
|
CREATE USER test_user_01999
|
|
|
|
A
|
|
|
|
B
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT ON db1.* TO test_user_01999
|
|
|
|
GRANT SHOW TABLES, SHOW COLUMNS, SHOW DICTIONARIES ON db2.tb2 TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
C
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT(col1) ON db3.table TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
D
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT(col3) ON db3.table3 TO test_user_01999
|
|
|
|
GRANT SELECT(col1, col2) ON db4.table4 TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
E
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT(cola) ON db5.table TO test_user_01999
|
|
|
|
GRANT INSERT(colb) ON db6.tb61 TO test_user_01999
|
|
|
|
GRANT SHOW ON db7.* TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
F
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT ON all.* TO test_user_01999
|
2021-07-16 09:05:57 +00:00
|
|
|
G
|
2021-07-18 08:58:48 +00:00
|
|
|
H
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SELECT ON db1.tb1 TO test_user_01999
|
|
|
|
GRANT test_role_01999 TO test_user_01999
|
2021-07-18 08:58:48 +00:00
|
|
|
I
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT test_role_01999 TO test_user_01999
|
2021-07-18 08:58:48 +00:00
|
|
|
J
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SHOW ON db8.* TO test_user_01999
|
|
|
|
GRANT test_role_01999 TO test_user_01999
|
2021-07-18 08:58:48 +00:00
|
|
|
K
|
2021-07-19 13:15:55 +00:00
|
|
|
GRANT SHOW ON db8.* TO test_user_01999
|
2021-07-18 08:58:48 +00:00
|
|
|
L
|
2021-07-23 13:37:55 +00:00
|
|
|
GRANT SELECT ON db9.tb3 TO test_user_01999
|
|
|
|
M
|
|
|
|
GRANT SELECT ON db9.tb3 TO test_user_01999
|
|
|
|
GRANT test_role_01999 TO test_user_01999
|
|
|
|
N
|
|
|
|
GRANT SELECT ON db9.tb3 TO test_user_01999
|
|
|
|
GRANT test_role_01999_1 TO test_user_01999
|
|
|
|
O
|