Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
bddc4502
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
bddc4502
编写于
5月 27, 2022
作者:
W
wade zhang
提交者:
GitHub
5月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #13043 from taosdata/sean-tdengine-patch-31
docs: grammar: user management
上级
ac51a9c5
02c0adaa
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
6 addition
and
6 deletion
+6
-6
docs-en/13-operation/06-admin.md
docs-en/13-operation/06-admin.md
+6
-6
未找到文件。
docs-en/13-operation/06-admin.md
浏览文件 @
bddc4502
...
...
@@ -2,7 +2,7 @@
title
:
User Management
---
System operator can use TDengine CLI
`taos`
to create or remove user or change password. The SQL command is as
low:
A system operator can use TDengine CLI
`taos`
to create or remove users or change passwords. The SQL commands are documented be
low:
## Create User
...
...
@@ -10,7 +10,7 @@ System operator can use TDengine CLI `taos` to create or remove user or change p
CREATE
USER
<
user_name
>
PASS
<
'password'
>
;
```
When creating a user and specifying the user name and password, password needs to be quoted using single quotes.
When creating a user and specifying the user name and password,
the
password needs to be quoted using single quotes.
## Drop User
...
...
@@ -18,7 +18,7 @@ When creating a user and specifying the user name and password, password needs t
DROP
USER
<
user_name
>
;
```
Drop a user can only be performed by root.
Drop
ping
a user can only be performed by root.
## Change Password
...
...
@@ -26,7 +26,7 @@ Drop a user can only be performed by root.
ALTER
USER
<
user_name
>
PASS
<
'password'
>
;
```
To keep the case of the password when changing password, password needs to be quoted using single quotes.
To keep the case of the password when changing password,
the
password needs to be quoted using single quotes.
## Change Privilege
...
...
@@ -36,7 +36,7 @@ ALTER USER <user_name> PRIVILEGE <write|read>;
The privileges that can be changed to are
`read`
or
`write`
without single quotes.
Note:there is another privilege
`super`
, which not allowed to be authorized to any user.
Note:there is another privilege
`super`
, which
is
not allowed to be authorized to any user.
## Show Users
...
...
@@ -45,6 +45,6 @@ SHOW USERS;
```
:::note
In SQL syntax,
`< >`
means the part that needs to be input by user, excluding the
`< >`
itself.
In SQL syntax,
`< >`
means the part that needs to be input by
the
user, excluding the
`< >`
itself.
:::
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录