You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/27 02:01:41 UTC

[GitHub] [incubator-shardingsphere] msnetc opened a new issue #2106: sharding_proxy: Caused by: java.sql.SQLException: Unknown system variable 'query_cache_size'

msnetc opened a new issue #2106: sharding_proxy: Caused by: java.sql.SQLException: Unknown system variable 'query_cache_size'
URL: https://github.com/apache/incubator-shardingsphere/issues/2106
 
 
   ## Bug Report
   use sharding-proxy-3.1.0 connect to mysql 5.7 with config config-sharding.yaml。 sharding-proxy-3.1.0 ‘s error log:
   
   Caused by: java.sql.SQLException: Unknown system variable 'query_cache_size'
   	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
   	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
   	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2486)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2444)
   	at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1381)
   	at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3766)
   	at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3229)
   	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2238)
   	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2024)
   	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:779)
   	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 

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