SET SESSION group_concat_max_len = 1000000;

SELECT CONCAT('DROP TABLE ', GROUP_CONCAT(CONCAT('`', table_name, '`')) , ';')
INTO @sql
FROM information_schema.tables
WHERE table_schema = 'www';

PREPARE stmt FROM @sql;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
