Asteven-zn commented on issue #11737:
URL: 
https://github.com/apache/shardingsphere/issues/11737#issuecomment-897493447


   # server.yaml
   `    rules:
         - !AUTHORITY
           users:
             - root@%:tcsaMysql8016
             - sharding@:sharding
           provider:
             type: NATIVE`
   # config-data-simulator-dev.yaml
   `    schemaName: data_simulator_test
       dataSources:
         write_ds:
           #url: 
jdbc:mysql://mysql-mgr-1.mysql-mgrservice:3306/data_simulator_test?serverTimezone=UTC&useSSL=false
           url: 
jdbc:mysql://mgr-mysql-primary:3306/data_simulator_test?serverTimezone=UTC&useSSL=false
           username: root
           password: tcsaMysql8016
           connectionTimeoutMilliseconds: 30000
           idleTimeoutMilliseconds: 60000
           maxLifetimeMilliseconds: 1800000
           maxPoolSize: 3500
           minPoolSize: 3500
           maintenanceIntervalMilliseconds: 30000
         read_ds_0:
           #url: 
jdbc:mysql://mysql-mgr-2.mysql-mgrservice:3306/data_simulator_test?serverTimezone=UTC&useSSL=false
           url: 
jdbc:mysql://mgr-mysql-replica:3306/data_simulator_test?serverTimezone=UTC&useSSL=false
           username: root
           password: tcsaMysql8016
           connectionTimeoutMilliseconds: 30000
           idleTimeoutMilliseconds: 60000
           maxLifetimeMilliseconds: 1800000
           maxPoolSize: 3500
           minPoolSize: 3500
           maintenanceIntervalMilliseconds: 30000
       rules:
       - !READWRITE_SPLITTING
         dataSources:
           pr_ds:
             writeDataSourceName: write_ds
             readDataSourceNames:
               - read_ds_0`


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


Reply via email to