2021-07-16 03:21:50 +00:00
|
|
|
CREATE USER test_user_01999
|
|
|
|
A
|
|
|
|
B
|
2021-07-16 09:05:57 +00:00
|
|
|
GRANT SELECT ON db1.* TO test_user_01999
|
|
|
|
GRANT SHOW TABLES, SHOW COLUMNS, SHOW DICTIONARIES ON db2.table TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
C
|
2021-07-16 09:05:57 +00:00
|
|
|
GRANT SELECT(col1) ON db3.table TO test_user_01999
|
2021-07-16 03:21:50 +00:00
|
|
|
D
|
2021-07-16 09:05:57 +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-16 09:05:57 +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-16 09:05:57 +00:00
|
|
|
GRANT SELECT ON all.* TO test_user_01999
|
|
|
|
G
|