Add an IF EXISTS clause to the drop table statement
mysql> mysql> DROP TABLE IF EXISTS no_such_table; Query OK, 0 rows affected, 1 warning (0.00 sec)