Skip to content

Instantly share code, notes, and snippets.

@psynaptic
Created March 26, 2014 05:14
Show Gist options
  • Save psynaptic/9777251 to your computer and use it in GitHub Desktop.
Save psynaptic/9777251 to your computer and use it in GitHub Desktop.
truncate all drupal cache tables by sql query
select concat('truncate table ', TABLE_NAME, ';') from information_schema.tables where TABLE_NAME like 'cache%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment