You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/06 06:03:03 UTC

[GitHub] [shardingsphere] xiangtao123 commented on issue #6657: java.lang.IllegalStateException: Missing the data source name

xiangtao123 commented on issue #6657:
URL: https://github.com/apache/shardingsphere/issues/6657#issuecomment-669720840


   0. datanode name like : ds_x1.tb_x1
   
   1. datasource.names=m1
   
   2. please check sharding result datasource name, it not is db/table name.
   
   3. please check database and table sharding algorithm was the same one?
   spring.shardingsphere.sharding.tables.course.database-strategy.standard.precise-algorithm-class-name=com.shardingjdbcdemo.config.CourseTableShardingAlgorithm
   
   4. config doc url:
   https://shardingsphere.apache.org/document/legacy/4.x/document/cn/manual/sharding-jdbc/configuration/config-spring-boot/
   


----------------------------------------------------------------
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:
users@infra.apache.org