SET FOREIGN_KEY_CHECKS=0; drop database if exists bug_1315130_a; drop database if exists bug_1315130_b; SET FOREIGN_KEY_CHECKS=1;