Merge pull request #3702 from taosdata/boxiaobj-patch-1

Add alter user privilledge in Document
This commit is contained in:
Shengliang Guan 2020-09-28 15:36:46 +08:00 committed by GitHub
commit 48a08cae80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -233,6 +233,12 @@ ALTER USER <user_name> PASS <'password'>;
修改用户密码, 为避免被转换为小写,密码需要用单引号引用,单引号为英文半角 修改用户密码, 为避免被转换为小写,密码需要用单引号引用,单引号为英文半角
```
ALTER USER <user_name> PRIVILEDGE <'super'|'write'|'read'>;
```
修改用户权限为super/write/read。 为避免被转换为小写,密码需要用单引号引用,单引号为英文半角
``` ```
SHOW USERS; SHOW USERS;
``` ```