774886347 commented on issue #32957:
URL:
https://github.com/apache/shardingsphere/issues/32957#issuecomment-2370365243
```
dataSources:
m1:
dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url:
username:
password:
m2:
dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url:
username:
password:
```
Here is the datasource config, rules must use same dataSource when I try to
config "- !SINGLE" m1.my_single_table and "- !SHARDING" m2.my_sharding_table, I
got Exception: **all tables must be in the same compute node**
So how to make sure both m1 and m2 work together?
m1 for single and m2 for sharding?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]