@Bean
    @ConditionalOnMissingBean(value = DataBaseProperties.class)
    public DataBaseProperties dataBaseProperties(@Value("${shenyu.database.dialect:h2}") final String dialect,
                                                   @Value("${shenyu.database.init_script:sql-script/h2/schema.sql}") final String initScript,
                                                   @Value("${shenyu.database.init_enable:true}") final Boolean initEnable) {
        DataBaseProperties dataSourceProperties = new DataBaseProperties();
        dataSourceProperties.setDialect(dialect);
        dataSourceProperties.setInitScript(initScript);
        dataSourceProperties.setInitEnable(initEnable);
        return dataSourceProperties;
    }
Register datasourceProperties for LocalDataSourceLoader.

@param dialect database dialect
@param initScript database init script
@param initEnable database init enable
@return {@linkplain DataBaseProperties}
shenyu-admin/src/main/java/org/apache/shenyu/admin/config/DataBaseConfiguration.java