This is an automated email from the ASF dual-hosted git repository.

jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 2bb667f3ff6 Correct IMPORT DATABASE CONFIGURATION syntax document 
(#29056)
2bb667f3ff6 is described below

commit 2bb667f3ff60de1e6d9f73edc85578c2d70dcf88
Author: yx9o <[email protected]>
AuthorDate: Fri Nov 17 11:06:13 2023 +0800

    Correct IMPORT DATABASE CONFIGURATION syntax document (#29056)
---
 .../distsql/syntax/ral/import-database-configuration.cn.md    | 11 ++++-------
 .../distsql/syntax/ral/import-database-configuration.en.md    |  9 +++------
 2 files changed, 7 insertions(+), 13 deletions(-)

diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.cn.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.cn.md
index 9cc71819a77..cf10cca4ccb 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.cn.md
@@ -13,10 +13,7 @@ weight = 12
 {{% tab name="语法" %}}
 ```sql
 ExportDatabaseConfiguration ::=
-  'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath ('TO' 
databaseName)?
-
-databaseName ::=
-  identifier
+  'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath
 
 filePath ::=
   string
@@ -38,7 +35,7 @@ filePath ::=
 - 将 `YAML` 中的配置导入到指定逻辑库中
 
 ```sql
-IMPORT DATABASE CONFIGURATION FROM FILE "/xxx/config_sharding_db.yaml" TO 
sharding_db;
+IMPORT DATABASE CONFIGURATION FROM FILE "/xxx/config_sharding_db.yaml";
 ```
 
 - 将 `YAML` 中的配置导入到当前逻辑库中
@@ -49,8 +46,8 @@ IMPORT DATABASE CONFIGURATION FROM FILE 
"/xxx/config_sharding_db.yaml";
 
 ### 保留字
 
-`IMPORT`、`DATABASE`、`CONFIGURATION`、`FROM`、`FILE`、`TO`
+`IMPORT`、`DATABASE`、`CONFIGURATION`、`FROM`、`FILE`
 
 ### 相关链接
 
-- [保留字](/cn/user-manual/shardingsphere-proxy/distsql/syntax/reserved-word/)
\ No newline at end of file
+- [保留字](/cn/user-manual/shardingsphere-proxy/distsql/syntax/reserved-word/)
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.en.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.en.md
index fda7344b777..66c057f539b 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/import-database-configuration.en.md
@@ -13,10 +13,7 @@ The `IMPORT DATABASE CONFIGURATION` syntax is used to import 
`YAML` configuratio
 {{% tab name="Grammar" %}}
 ```sql
 ExportDatabaseConfiguration ::=
-  'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath ('TO' 
databaseName)?
-
-databaseName ::=
-  identifier
+  'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath
 
 filePath ::=
   string
@@ -38,7 +35,7 @@ filePath ::=
 - Import the configuration in `YAML` into the specified database
 
 ```sql
-IMPORT DATABASE CONFIGURATION FROM FILE "/xxx/config_sharding_db.yaml" TO 
sharding_db;
+IMPORT DATABASE CONFIGURATION FROM FILE "/xxx/config_sharding_db.yaml";
 ```
 
 - Import the configuration in `YAML` into the current database
@@ -49,7 +46,7 @@ IMPORT DATABASE CONFIGURATION FROM FILE 
"/xxx/config_sharding_db.yaml";
 
 ### Reserved word
 
-`IMPORT`, `DATABASE`, `CONFIGURATION`, `FROM`, `FILE`, `TO`
+`IMPORT`, `DATABASE`, `CONFIGURATION`, `FROM`, `FILE`
 
 ### Related links
 

Reply via email to