WEIZIBIN edited a comment on issue #6835:
URL: https://github.com/apache/shardingsphere/issues/6835#issuecomment-674345328


   > @WEIZIBIN show me your config.
   
   ```
   shardingsphere:
       datasource:
         names: master,slave0
         master:
           driver-class-name: com.mysql.cj.jdbc.Driver
           type: com.zaxxer.hikari.HikariDataSource
           jdbc-url:
           username:
           password:
           maximumPoolSize: 10
           poolName: hikariPool-master
         slave0:
           driver-class-name: com.mysql.cj.jdbc.Driver
           type: com.zaxxer.hikari.HikariDataSource
           jdbc-url: 
           username: 
           password: 
           maximumPoolSize: 10
           poolName: hikariPool-slave0
       sharding:
         encrypt-rule:
           encryptors:
             my_encryptor:
               type: RemoteSecretStoreAESEncryptor
           tables:
             upms_user_t:
               columns:
                 mobile:
                   plainColumn: mobile
                   cipherColumn: mobile_cipher
                   encryptor: my_encryptor
                 address:
                   plainColumn: address
                   cipherColumn: address_cipher
                   encryptor: my_encryptor
         master-slave-rules:
           ds0:
             master-data-source-name: master
             slave-data-source-names: slave0
       props:
         query.with.cipher.column: false
         sql.show: true
   ```
   
   like this. 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:
[email protected]


Reply via email to