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 2022/05/11 06:49:25 UTC

[GitHub] [shardingsphere] TeslaCN commented on issue #17482: Cross database query ,prompt: schme not exist

TeslaCN commented on issue #17482:
URL: https://github.com/apache/shardingsphere/issues/17482#issuecomment-1123250512

   You may configure data sources and `actualDataNodes` in sharding rule. Such as:
   
   ```yaml
   dataSources:
     ds_0:
       url: xxx
     ds_1:
       url: xxx
   rules:
     - !SHARDING
       bindingTables: []
       defaultDatabaseStrategy:
         none:
       defaultTableStrategy:
         none:
       keyGenerators:
         snowflake:
           props:
             worker-id: 123
           type: SNOWFLAKE
       tables:
         bmsql_config:
           actualDataNodes: ds_0.bmsql_config
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org