Skip to content

Commit 85d9c02

Browse files
committed
Update rbac.md
1 parent ed55987 commit 85d9c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ GRANT SHOW ON default.* TO read_only;
4747
The following SQL creates a user and assign the specific role to it.
4848
```sql
4949
CREATE USER user_name IDENTIFIED WITH plaintext_password BY 'password';
50-
GRANT user_name TO role_name;
50+
GRANT role_name TO user_name;
5151
```
5252

5353
### Drop a user

0 commit comments

Comments
 (0)