Mass Table Drop MySql Help

Elite
  • 242 points
    WPMU DEV Expert
    I'm helpful
    kennibc

    Member  —  23rd April 2009 (3 years ago)         

    For many many blogs, I have these tables created from the Counterize Stat Plugin that we no longer use and I want to drop them:
    Example of a single blog:

    wp_182_Counterize
    wp_182_Counterize_Keywords
    wp_182_Counterize_Pages
    wp_182_Counterize_Referrers
    wp_182_Counterize_UserAgents

    What is the MySql execution I could run to effectively drop any table with the word "Counterize" in the name of the table??? Sorry, I am not a MySql expert by any means.