Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can query_cache_limit in mysql 5 be set locally for a specific database? I don't have root privileges to change the global variable.

Can query_cache_limit be set locally for each database?

share|improve this question
up vote 1 down vote accepted

No, it can only be done by someone with root as you already understand.

But if it were me, I would check with them. They may be able to give you a custom my.cnf file.

share|improve this answer
Are there any other caching options that I can enable instead without having root access ? – Marek Andreansky Apr 5 '14 at 0:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.