johnny2002 edited a comment on issue #7471:
URL: https://github.com/apache/shardingsphere/issues/7471#issuecomment-693191012
For datasource config, how about the following:
```yaml
dataSourceTemplates:
template1:
driver-class-name: com.mysql.jdbc.Driver
username: root
password:
maxPoolSize: 50
minPoolSize: 1
template2:
driver-class-name: org.postgresql.Driver
username: user1
password: pass123
maxPoolSize: 200
minPoolSize: 10
dataSources:
ds_0:
template: template1
url:
jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false
ds_1:
template: template1
url:
jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false
ds_2:
template: template2
url:
jdbc:postgresql://localhost:5432,localhost:5433/postgres?loadBalanceHosts=true&characterEncoding=utf-8
```
----------------------------------------------------------------
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]