MySQL: Drop all tables from Database using Script / Linux

Keep Database Privileges as it is and Just drop the tables using Script.

Few days back, I got a task to do, Task was Keep the database as it is, So that we do not have to add database users, privileges and everything again and again, Just Drop all the databases tables inside the database. If there are only few tables like 5 or 10 than it is easy to do it manually, but what if you have the 100s or 1000s of tables inside database ?

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis