Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento disable cache from database

Tags:

magento

There is a way to disable cache from System->Cache Management menu.

How can I do the same without entering to site, using Database SQL query?

like image 537
Kostanos Avatar asked Aug 30 '13 22:08

Kostanos


1 Answers

The easiest way to disable cache is by using SQL query:

UPDATE `core_cache_option` SET value=0;

And clear your cache folder just to be sure:

rm -rf <YOUR SITE PATH HERE>/magento/var/cache/*

In Magento Enterprise Edition you also have to clear the full_page_cache directory (thanks to Bartosz Górski):

rm -rf [YOUR SITE PATH HERE]/magento/var/full_page_cache/*
like image 67
Kostanos Avatar answered Oct 07 '22 19:10

Kostanos