Or Fun in using MySQL8 with ProxySQL and MysqlJ connector
I am recently working on testing MySQL8 and try the several solution attach to it,like ProxySQL but not only.
After I had setup the set of servers, and configured ProxySQL to redirect the incoming connection from my user m8_test to my MySQL8 setup, I had turn on my Java test application ... and with my surprise I received an error:
Caused by:
1 |
com.mysql.cj.core.exceptions.CJException: Unknown system variable 'query_cache_size'
|
Well ok MySQL8 doesn't have Query cache, but why I got this error?
I did point the application to MySQL8 directly and it worked fine.
Just to be sure this is something restricted to the Java connector, I did a test with a perl, and I was able to access and …
[Read more]