The IMPORT DATABASE CONFIGURATION
syntax is used to import a database from the configuration in YAML
.
ExportDatabaseConfiguration ::=
'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath
filePath ::=
string
databaseName
in YAML is empty, it cannot be imported;dataSources
in YAML is empty, only empty database will be imported.IMPORT DATABASE CONFIGURATION FROM FILE "/xxx/config_sharding_db.yaml";
IMPORT
, DATABASE
, CONFIGURATION
, FROM
, FILE