To the best of my knowledge, the functionality of dropping tables by wildcard does not exist in MySQL.
What I've done in the past is to write a script which connects to the server, selects the appropriate database, perform a SHOW TABLES query, then use the appropriate tablenames returned to issue a set of DROP TABLE queries back to the same server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.