Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just installed memcache with yum on MySQL Server. However when I start the memcache daemon I see no changes in MySQL/Application performance. I think I still need to configure MySQL to work with Memcached.

  • What configuration changes do I make at MySQL end to talk with Memcached?
  • Do I need to configure anything from the App/Web Server end as well?
share|improve this question

closed as not constructive by Jacob, Wesley, DerfK, Iain Mar 22 '13 at 6:48

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Good general advice at this point is to read documentation. The specific advice here is read the memcached documentation - bit of a theme building there... – Iain Mar 22 '13 at 6:48

1 Answer 1

Memcached is not magic, and it does not work directly with MySQL.

You interact with memcached from your application, which needs to take care of inserting keys into memcached as well as looking up data there before falling back to MySQL.

share|improve this answer
Okay but how do i configure it? Any guideline written already? – 夏期劇場 Mar 22 '13 at 3:37
This is far beyond the scope of Serverfault. You need to read documentation for memcached and your application/language to determine what will be required. There's likely not a magic "use the memcached" switch you can flip. You'll need to re-write substantial sections of your code. – EEAA Mar 22 '13 at 3:39

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