SELECT CONCAT('DROP TABLE `', TABLE_NAME,'`;')
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME LIKE 'TABLE_PREFIX_GOES_HERE%';
I've connected to the database. I had run the above query. This query only displays the tables. How do I execute the actual command of deleting of what is being displayed inside the mysql shell?
I tried running a DROP TABLE command against single table which works fine/as expected in the mysql cli shell enviroment.