You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/09/24 03:05:13 UTC

[GitHub] [incubator-shardingsphere] tanhaican opened a new issue #3097: Unknown system variable 'query_cache_size'

tanhaican opened a new issue #3097: Unknown system variable 'query_cache_size'
URL: https://github.com/apache/incubator-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:
users@infra.apache.org


With regards,
Apache Git Services