1. First of all, you have to log in as root using SSH on the server.
2. Now, open MySQL prompt and run this command:
This will give a tabular result like:
+------------------------------+-----------+
| Variable_name | Value |
+------------------------------+-----------+
| have_query_cache |...