Is there a nice easy way to drop all tables from a MySQL database, ignoring any foreign key constraints that may be in there?
DB="your database name" \ && mysql $DB < "SET FOREIGN_KEY_CHECKS=0" \ && mysqldump --add-drop-table --no-data $DB | grep 'DROP TABLE' | grep -Ev "^$" | mysql $DB \ && mysql $DB < "SET FOREIGN_KEY_CHECKS=1"