Manuallly purge Craft 2 Cache with raw SQL

Craft caches tend to mess up sometimes. Clear it manually with this SQL.


You can manually clear all of the Craft 2 cache with the following SQL.
We assume your Craft2 database table prefix is craft_..


delete  FROM craft_templatecacheelements where cacheId>0;
delete  FROM craft_templatecachecriteria where cacheId>0;
delete  FROM craft_templatecaches where id>0;