DROP TABLE IF EXISTS t1,T1; CREATE TABLE t1 (a int); SELECT * from T1; a drop table t1; flush tables; CREATE TABLE t1 (a int) ENGINE=INNODB; SELECT * from T1; ERROR 42S02: Table 'test.T1' doesn't exist drop table t1;