This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new eb7b59c1c6 [docs](plugins) Fix the information in auditlog plugin
documentation #18073
eb7b59c1c6 is described below
commit eb7b59c1c6228adbb992c3466452f84dae3ad488
Author: xy720 <[email protected]>
AuthorDate: Fri Mar 24 18:16:16 2023 +0800
[docs](plugins) Fix the information in auditlog plugin documentation #18073
The information in the document is incomplete, user may be get error
message like:
mysql> INSTALL PLUGIN FROM "http://127.0.0.1:8039/auditloader.zip";
ERROR 1105 (HY000): errCode = 2, detailMessage =
http://127.0.0.1:8039/auditloader.zip.md5. you should set md5sum in plugin
properties or provide a md5 URI to check plugin file
---
.../sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md | 3 +++
.../sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md | 2 ++
2 files changed, 5 insertions(+)
diff --git
a/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
b/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
index beaf2aca67..1d5e9b8772 100644
---
a/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
+++
b/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
@@ -66,6 +66,9 @@ source supports three types:
INSTALL PLUGIN FROM "http://mywebsite.com/plugin.zip";
````
+ Note than an md5 file with the same name as the `.zip` file needs to be
placed, such as `http://mywebsite.com/plugin.zip.md5` .
+ The content is the MD5 value of the .zip file.
+
4. Download and install a plugin, and set the md5sum value of the zip file at
the same time:
```sql
diff --git
a/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
b/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
index c610c75214..e66e5df6cf 100644
---
a/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
+++
b/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/INSTALL-PLUGIN.md
@@ -66,6 +66,8 @@ source 支持三种类型:
INSTALL PLUGIN FROM "http://mywebsite.com/plugin.zip";
```
+ 注意需要放置一个和 `.zip` 文件同名的 md5 文件, 如 `http://mywebsite.com/plugin.zip.md5`
。其中内容为 .zip 文件的 MD5 值。
+
4. 下载并安装一个插件,同时设置了zip文件的md5sum的值:
```sql
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]