MySQL 8.0 will not support query cache, and users upgrading will be encouraged to use either Server-side Query Rewrite or ProxySQL as a man-in-the-middle cache.
2034-12-21T09:44:15.762877Z 0 [ERROR] [MY-000067] [Server] unknown variable ‘query_cache_size=256M’.
Hi, I’m using new version of MySQL 9 and there is a problem when I try to create WordPress website via WP Toolkit. The installation fails, and it crashes mysql service with an error:
[ERROR] [MY-000067] [Server] unknown variable ‘query_cache_type=1’.When I try to restart the service, it cannot be started. It seems that that query cache feature was removed in MySQL 8.0 (https://dev.mysql.com/blog-archive/mysql-8-0-retiring-support-for-the-query-cache).
If I remove the query_cache_type and query_cache_size from the config, the mysql service starts normally,
[mysqld] ssl-ca=/www/server/mysql/mysql-test/std_data/cacert.pemssl-cert=/www/server/mysql/mysql-test/std_data//server-cert.pem
ssl-key=/www/server/mysql/mysql-test/std_data/server-key.pem
#query_cache_type = 1
#query_cache_size = 256M
Simon Guetta




