A one liner to drop all tables from a given database:
echo "DATABASE_NAME"| xargs -I{} sh -c "mysql -Nse 'show tables' {}| xargs -I[] mysql -e 'SET FOREIGN_KEY_CHECKS=0; drop table []' {}"
Running this will drop all tables from database DATABASE_NAME.
And a nice thing about this is that the database name is only written explicitly once.