Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Ey @vipingoyal,
Some options and variables are removed in MySQL 8.0 such as query_cache_limit, you should modify your /etc/mysql/my.cnf file in case there is any other deprecated variable.
You can check out Options and Variables Removed in MySQL 8.0 for reference.
Hope that helps you,
Sergio Turpín
Hi there,
In addition to what has already been mentioned, you can search for the query_cache_limit variable in all of the MySQL configuration files using the following command:
grep -r query_cache_limit /etc/mysql/
Then you can edit all of the files and remove all of the references for that query_cache_limit variable.
After doing so, you can restart MySQL with:
sudo systemctl restart mysql
Let me know how it goes.
Best,
Bobby
Hi @vipingoyal,
What you should be looking at is the [ERROR] code entry. In there you can see the following error
[Server] unknown variable ‘query_cache_limit=4M’
This means query_cache_limit is no longer a variable supported by your new MySQL version. You’ll need to remove it from your MySQL configuration file called my.cnf. It should be found in /etc/mysql/my.cnf. Open the file remove the line query_cache_limit and restart MySQL afterwards.