Drop or Empty/Truncate all Tables in a MySQL Database

Unfortunately, no command exists in MySQL to drop or truncate all tables in a database. You can drop or truncate each table in a database one-by-one, but even that is cumbersome, as you can’t even pass a comma-delimited list of tables to use. There’s no command like drop all tables;, neither is there a command […]