Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

After a module update, my site has become un-usable, and only shows a php error message. I tried circumventing the problem with drush cc, but that didn't help.

Also tried with a custom php script but that has issues finding my 'DRUPAL_ROOT'

I just want to clear the cache tables from Drupal 7 directly on the mysql server, but I'm unsure which tables should be cleared for that and especially which I should not clear.

Do I just need to clear all the [SITE-PREFIX_]cache* tables?

share|improve this question
Could you please add the query you used? – ipwa Feb 13 '12 at 20:10
actually I was looking for a Query to use with something like: `EMPTY WHERE tablename IS LIKE 'prefix_chache%' but in the end I just used phpmyadmin to drop the tables because I couldn't find such a query. – FLY Feb 14 '12 at 7:54

1 Answer

up vote 3 down vote accepted

Any well written module that has a cache, should prefix it with cache, meaning that the answer to your question is "Yes".

In the odd event that a module caches data somewhere else, you can check your modules for implementations of hook_flush_caches, and see what they remove.

share|improve this answer

Your Answer

 
discard

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.