1.查询删除语句 其中pms就是你要删除表的前缀,替换成你所需的即可 select group_concat(m separator ';') DROP_sql from (Select CONCAT( 'drop table ', table_name, '' ) m FROM information_schema.tables Where table_name LIKE 'pms_%') a 2.执行删除语句 删除成功!!!