yating19 opened a new issue, #33668:
URL: https://github.com/apache/shardingsphere/issues/33668

     flyway:
       baseline-on-migrate: true
       validate-on-migrate: false
       schemas: db
     datasource:
       driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
       url: 
jdbc:shardingsphere:classpath:shardingsphere-config-${APP_ENV:local}.yml
   
   shardingsphere-config-${APP_ENV:local}.yml
   dataSources:
     db:
       driverClassName: com.mysql.cj.jdbc.Driver
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource
       maxPoolSize: 10
       jdbcUrl: 
jdbc:mysql://localhost:3306/db?useUnicode=true&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
       username: root
       password: 12345678
   
   rules:
     - !ENCRYPT
       tables:
         address:
           columns:
             name:
               cipher:
                 name: name
                 encryptorName: common_encryptor
       encryptors:
         common_encryptor:
           type: AES
           props:
             aes-key-value: xxx
             digest-algorithm-name: "SHA-256"
     - !SINGLE
       tables:
         - "*.*"
         - db.*
         - "."
       defaultDataSource: db
   
   props:
     sql-show: true


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