java.sql.SQLException: Unknown system variable 'query_cache_size'

后端 未结 10 902
再見小時候
再見小時候 2020-12-06 04:28

I have a app running with JDBC and get data from MySQL, but I can\'t build it because of this error :

java.sql.SQLException: Unknown system variable \'query         


        
10条回答
  •  长情又很酷
    2020-12-06 05:06

    java.sql.SQLException: Unknown system variable 'query_cache_size'

    In pom file of your project, just update the version of the dependency.

    For example it's 6.0.2 of mysql java connector just update it to latest one like 8.0.11

    It works!!!!

提交回复
热议问题