Raketenwilli: Datenbank über SSH leeren

Beitrag lesen

The best way to drop all tables in a database is by executing DROP DATABASE, which will drop the database itself, and all tables in it.

sagt: https://mariadb.com/kb/en/drop-table/

→ Dropping All Tables in a Database

Dort steht noch mehr … das trifft dann auch auf VIEWS, FUNCTIONS, FOREIGN_KEY_CHECKS und dergleichen zu.

Allerdings könnte es sein, dass Du das nicht darfst, und anschauen musst Du Dir die Tabellen auch anderweitig. Nur bist Du bei der Frage „irgendwie widersprüchlich“.