Skip to content

Commit

Permalink
Update 2.management-user.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Oct 11, 2023
1 parent 6801c14 commit 16e0264
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
- 示例

```ngql
nebula> ALTER USER user2 WITH PASSWORD 'nebula';
nebula> ALTER USER user2 WITH PASSWORD 'change_password';
nebula> SHOW USERS;
+---------+
| Account |
Expand All @@ -205,7 +205,7 @@
使用`WITH IP WHITELIST`时,后面不填写任何 IP 表示取消白名单,用户使用任何 IP 都可以连接{{nebula.name}}。

```ngql
nebula> ALTER USER user2 WITH PASSWORD 'nebula';
nebula> ALTER USER user2 WITH PASSWORD 'change_password';
nebula> ALTER USER user2 WITH PASSWORD 'nebula' WITH IP WHITELIST 192.168.10.10;
nebula> SHOW USERS;
+---------+-----------------+
Expand Down

0 comments on commit 16e0264

Please sign in to comment.