Would this find and drop all tables with the given prefix?
DROP TABLE IF EXISTS 'bak_'
There are other tables with "mmp_hdkji" that I do not want to drop.
Would this find and drop all tables with the given prefix?
DROP TABLE IF EXISTS 'bak_'
There are other tables with "mmp_hdkji" that I do not want to drop.
Since you're using phpMyAdmin, if PeteR's answer isn't to your liking, you can shift-click to select many tables at once.
From the database structure page, you can click the checkbox in front of each table you want. If, as in your case, there are a number that are ordered one after the other, click the top one then shift-click the bottom one. The ones in between will also be selected. Once you have all your tables selected, click the "With selected:" dropdown and go to "Drop".