luckleemon opened a new issue #8423:
URL: https://github.com/apache/shardingsphere/issues/8423


   i want to config the default database, but i use the config 
'default-data-source: ds_0' in yaml file,  it goes error,
   
   Exception in thread "main" Cannot create property=rules for 
JavaBean=org.apache.shardingsphere.proxy.config.yaml.YamlProxyRuleConfiguration@57baeedf
    in 'reader', line 25, column 1:
       schemaName: sharding_db
       ^
   Cannot create property=default-data-source for 
JavaBean=org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration@42e26948
    in 'reader', line 44, column 3:
       - !SHARDING
         ^
   Unable to find property 'default-data-source' on class: 
org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration
    in 'reader', line 76, column 24:
         default-data-source: ds_0
                              ^
   
    in 'reader', line 44, column 1:
       - !SHARDING
   
   how to solve the problem?
   thank you.
   **ps : can the guide docment give us more detail information?**


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to