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/09/14 07:34:23 UTC
[GitHub] [shardingsphere] chana71 commented on issue #7437: unconfigured table can not query with schema name because of missing rewrite
chana71 commented on issue #7437:
URL: https://github.com/apache/shardingsphere/issues/7437#issuecomment-691876569
@menghaoranss Now I am testing on the master version. Please check.
```
schemaName: cust
dataSourceCommon:
...
dataSources:
ds0:
url: jdbc:mysql://192.168.1.175:3306/cust0?useSSL=false
ds1:
url: jdbc:mysql://192.168.1.175:3306/cust1?useSSL=false
ds2:
url: jdbc:mysql://192.168.1.186:3306/cust2?useSSL=false
ds3:
url: jdbc:mysql://192.168.1.186:3306/cust3?useSSL=false
rules:
- !SHARDING
tables:
sched_job_extend:
actualDataNodes: ds${0..3}.sched_job_extend
databaseStrategy:
standard:
shardingAlgorithmName: database_mod
shardingColumn: dbid
defaultDatabaseStrategy:
none:
shardingAlgorithms:
database_mod:
type: MOD
props:
sharding.count: 4
```
Thx
----------------------------------------------------------------
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