tanhaican opened a new issue #3097:
URL: https://github.com/apache/shardingsphere/issues/3097


   ## Bug Report
   
   - There are 4 similar issues, but none of them are exactly like me
   - I've tried after the document, but still can not solve the problem
   
   ### Which version of ShardingSphere did you use?
   First, I tried 
apache-shardingsphere-incubating-4.0.0-RC2-sharding-proxy-bin, Then, I build 
myself from dev branch (2019-09-24)
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-Proxy
   
   ### Expected behavior
   Connected successfully by SpringBoot Application with Druid Or HikariCP 
Datasource
   
   ### Actual behavior
   Connected successfully by Navicat (sometimes throws NullPointerException: 
null, but still work)
    Both of Druid or HikariCP in my SpringBoot Application start faild by 
throwing "Failed to initialize pool: Unknown system variable 'query_cache_size' 
"
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   1. Sharding-Proxy (4.0.0-RC2) (config-sharding.yaml)
   2. SprintBoot with Druid or HikariCP
   3. MySQL 8.0.12
   4. Tried mysql-connector-java-5.1.44、mysql-connector-java-8.0.17.jar in 
SpringBoot application and sharding-proxy/lib,none of them works
   
   ### Example codes for reproduce this issue (such as a github link).
   
[config-sharding.yaml.txt](https://github.com/apache/incubator-shardingsphere/files/3645028/config-sharding.yaml.txt)
   
   
[server.yaml.txt](https://github.com/apache/incubator-shardingsphere/files/3645029/server.yaml.txt)
   


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