gameboyLV commented on issue #19824:
URL: 
https://github.com/apache/shardingsphere/issues/19824#issuecomment-1204665937

   If I replace the second step with
   ```
   databaseName: ds2
   dataSources:
     ds2:
       url: 
jdbc:mysql://192.168.1.236:3306/ds2?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true
       username: root
       password: 123456
       connectionTimeoutMilliseconds: 30000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 50
       minPoolSize: 1
   
   rules:
   - !ENCRYPT
     encryptors:
       aes_encryptor:
         type: AES
         props:
           aes-key-value: 123456abc
       md5_encryptor:
         type: MD5
       sys_account_2:
         columns:
           mobile:
             cipherColumn: mobile_cipher
             encryptorName: aes_encryptor
         queryWithCipherColumn: true
   ```
   
   the query works fine,but the invisible column has no effect
   
   |id|login_name|mobile|mobile_index|
   |----|----|----|----|
   
|1|system|123456|ki54eZF1zMri+PX8X4OPfA==WkgBwCnnGTa0GHW3xypWXA==3SV5gW6/sZdiUHPj4+NMlg==Xsm1em/q9eeeCrAzP1f0EQ==CpsIEZkmi549amLpbLPCLg==|


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