title: How do I turn on query_cache on a Windows XAMPP Server?
body: <p>In xampp/mysql/bin/my.ini</p>
  
  <p>Do I add?</p>
  
  <pre><code>query_cache_size = 16777216
  query_cache_type = 1
  query_cache_limit = 1048576
  </code></pre>
  
  <p>I have tried the above and restarted mysql server but when I run this query:</p>
  
  <pre><code>SHOW VARIABLES LIKE '%query_cache%'
  </code></pre>
  
  <p>It says </p>
  
  <pre><code>query_cache_type is OFF
  </code></pre>