johnny2002 commented on issue #7471:
URL: https://github.com/apache/shardingsphere/issues/7471#issuecomment-693191012


   For datasource config, how about the following:
   
   ```yaml
   dataSourceTemplates:
      template1:
        username: root
        password:
        maxPoolSize: 50
        minPoolSize: 1
      template2:
        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: template2
       url: 
jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false
   ```
   


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


Reply via email to